Next Generation Emulation banner
1 - 6 of 6 Posts

·
Registered
Joined
·
378 Posts
Discussion Starter · #1 ·
For some reason, ms-dos commands like "ping" and "ipconfig" are no longer working on my machine. Reboot doesn't fix it. I'm sure its my fault, but I can't remember for the life of me what I tweaked (nothing recent). Any ideas?
 

·
Registered
Joined
·
822 Posts
The only thing I can think of is (assuming Windows XP) under System Properties > Advanced > Environmental Variables

There should be set paths to where all the command lines are.
 

·
Registered
Joined
·
1 Posts
There are two things you can try.(I assume you are using Windows XP) Type this on your command prompt:

cd c:\Windows\system32

If that don’t work then try to run cmd.exe from the system32 folder.

I’m not quite sure what you did, but maybe that will work.
 

·
Registered
Joined
·
378 Posts
Discussion Starter · #4 ·
Toshiro: Do you know what the variables are supposed to be? Could you post what yours looks like if it does work?

Xor: Running cmd.exe from the windows system32 directory allows me to run ping/ipconfig/etc. Same question for you: Do you know what environmental var I need to create/change to restore this?
 

·
Registered
Joined
·
2,229 Posts
Variable Value
Name

Path %SystemRoot%\system32;%SystemRoot%;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
 

·
Registered
Joined
·
378 Posts
Discussion Starter · #6 · (Edited)
That fixed it.

I removed the following lines from "path." Anyone predict complications from this

Code:
%SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;
edit: %systemroot%\system32\wbem; contains some minorly important DLL files. They are not windows critical. the only prog that seems to use them is Spybot S&D, but I haven't checked everything.
 
1 - 6 of 6 Posts
Top