Forum Home
Press F1
 
Thread ID: 129958 2013-03-21 23:30:00 Win7 Pro 32bit environmental variables not working wratterus (105) Press F1
Post ID Timestamp Content User
1333663 2013-03-21 23:30:00 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\
wratterus (105)
1333664 2013-03-21 23:51:00 Can you open the Command prompt OK, and run other commands.?

Both CMD & ipconfig are in the C:\Windows \System32 folder
wainuitech (129)
1333665 2013-03-21 23:54:00 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.
wratterus (105)
1333666 2013-03-22 01:03:00 %systemroot%/system32
%systemroot%\system32

Maybe the slash direction had something to do with it?
pcuser42 (130)
1333667 2013-03-22 01:13:00 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.
wratterus (105)
1