View Full Version : Win7 Pro 32bit environmental variables not working

22-03-2013, 12:30 PM
Got a laptop here, for no apparent reason the environmental variables don't seem to be working at all (can't run ipconfig unless the pate is manually specified etc). Can't see anything wrong with the path, it's posted below for anyone to double check. Any ideas? Thanks. :)

PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoo t%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowe rShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Toshiba\Bluetooth Toshiba Stack\sys\

22-03-2013, 12:51 PM
Can you open the Command prompt OK, and run other commands.?

Both CMD & ipconfig are in the C:\Windows \System32 folder

22-03-2013, 12:54 PM
CMD opens ok - I just changed the %systemroot%/system32 variable to c:\windows\system32 and it started working - changed it back to the original %systemroot%\system32 and it's still working, so that's a bit weird.

I've tested by opening a few .exe files in various other folders in the path and they all seem fine, it's like editing the path somehow kicked the whole thing into gear again.

22-03-2013, 02:03 PM

Maybe the slash direction had something to do with it?

22-03-2013, 02:13 PM
Maybe the slash direction had something to do with it?

Good spotting but that's just my typing stuff up. :p It was definitely right.