Ping, tracert, help, netsh Not found

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Everytime I use those commands I get '<command> is not recognized as an
internal or external command, operable program or batch file.

I have a feeling that it has to do with my path. When I type in Set at the
command prompt I get

Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\ImageConverter Plus;C:\Program
Files\ImageConverter Plus;;C:\Program Files\ImageConverter Plus

Now if I type in Path=C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\system32\

I can use ping, tracert, help, netsh etc. But right when I close that
command prompt and use the Set command again it defaults back. So my problem
is with the %SYSTEMROOT% Variable. Where in windows can I set the Default
path so thats what boots with my computer?

Thank you in Advanced

Kevin
 
OCPocketAces said:
Everytime I use those commands I get '<command> is not recognized
as an internal or external command, operable program or batch file.

I have a feeling that it has to do with my path. When I type in Set
at the command prompt I get

Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\ImageConverter
Plus;C:\Program Files\ImageConverter Plus;;C:\Program
Files\ImageConverter Plus

Now if I type in
Path=C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\system32\

I can use ping, tracert, help, netsh etc. But right when I close
that command prompt and use the Set command again it defaults back.
So my problem is with the %SYSTEMROOT% Variable. Where in windows
can I set the Default path so thats what boots with my computer?

Thank you in Advanced

When you type in SET at the command prompt - what is the value of
'SystemRoot'?
 
SystemRoot=C:\WINDOWS

Okay I found some other threads that told me to modify the Registry in HKAY
LOCAL MACHINE\SYSTEM...\environment and check to see if the type was set to
REG_SZ. It was so I created a new path that was REG_EXPAND_SZ and put in
C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\system32\Wbem

I'm still haven't internet related issues so I don't think that this was a
permanent fix.
 
Back
Top