H
Homer J. Simpson
Hi all,
Today I've noticed some strange problem, and the more I look at it the more
I'm getting convinced that something is *very* wrong with my system.
It started when I ran ipconfig from a command prompt:
"'ipconfig' is not recognized as an internal or external command, operable
program or batch file."
In other word, it couldn't find the ipconfig.exe.
Sure enough, it was in the system32 folder. I managed to run it from there
without any problem. I switched back to some other random folder, tried to
run it again, and sure enough, it failed with the same message.
'set path' showed that %SystemRoot%\system32 is part of the search path.
%SystemRoot% is correctly defined as D:\WINDOWS.
If I type in %SystemRoot%\system32\ipconfig, it runs fine.
WTH? Why isn't the search path being used all of a sudden?
I try running a few more EXEs that should be present in other folders
defined in the search path. Again, none of them can be found, including
others in system32 like Notepad and Calc. The files *are* there and can be
run if I either specify the full path or "CD [...]" to the appropriate
folder before.
Something even stranger--a good while ago (months) I added one more folder
(E:\Utils) to the end of the %PATH% environment variable, just so I have
quick access to a bunch of third-party utilities. I noticed that *they*
managed to run wherever I was, so I could only conclude that this folder
*was* being searched. Upon closer examination, I noticed that E:\Utils had
somehow *disappeared* from the %PATH% environment variable.
Just, wow. I'm dumbfounded. The problem still exists after a reboot.
Thoughts?
Today I've noticed some strange problem, and the more I look at it the more
I'm getting convinced that something is *very* wrong with my system.
It started when I ran ipconfig from a command prompt:
"'ipconfig' is not recognized as an internal or external command, operable
program or batch file."
In other word, it couldn't find the ipconfig.exe.
Sure enough, it was in the system32 folder. I managed to run it from there
without any problem. I switched back to some other random folder, tried to
run it again, and sure enough, it failed with the same message.
'set path' showed that %SystemRoot%\system32 is part of the search path.
%SystemRoot% is correctly defined as D:\WINDOWS.
If I type in %SystemRoot%\system32\ipconfig, it runs fine.
WTH? Why isn't the search path being used all of a sudden?
I try running a few more EXEs that should be present in other folders
defined in the search path. Again, none of them can be found, including
others in system32 like Notepad and Calc. The files *are* there and can be
run if I either specify the full path or "CD [...]" to the appropriate
folder before.
Something even stranger--a good while ago (months) I added one more folder
(E:\Utils) to the end of the %PATH% environment variable, just so I have
quick access to a bunch of third-party utilities. I noticed that *they*
managed to run wherever I was, so I could only conclude that this folder
*was* being searched. Upon closer examination, I noticed that E:\Utils had
somehow *disappeared* from the %PATH% environment variable.
Just, wow. I'm dumbfounded. The problem still exists after a reboot.
Thoughts?