Weird XP Problem - Can't ping, ipconfig, etc from CMD line (CMD opens into wrong directory)

lizardboy

Diamond Member
Dec 3, 2000
3,488
0
71
just reinstalled WinXP Pro last week...(legal copy, not devils own if it matters)

anyway, when i type CMD at the Run prompt it opens up at C:\Documents and Settings\lizard_boy\

if i try and type any standard command like ping, tracert, ipconfig, etc it tells me: 'ping' is not recognized as an internal or external command, operable program or batch file.

if i change the directory to C:\WINDOWS\system32 then all the commands will work

how can i get the CMD to default to this directory ?? - or is there a way like back in the old DOS days to add C:\WINDOWS\system32 to the 'path' ??

thanks
 

NateSLC

Senior member
Feb 28, 2001
943
0
0
Try adding a path command in your System Properties -> Advanced -> Environment Variables as shown here.