Command prompt problem

  • Thread starter Thread starter Justin Madex
  • Start date Start date
J

Justin Madex

Hi guys!

I am running XP and i went to use the command prompt this morning with
commands like ping and help and ipconfig and with every command it replies
with the line -
'ping' is not recognised as an internal or external command, operable
program or batch file.

But if i use "Run" and do the same command it works every time.
Thanks in advance for your help!

Jus
 
Justin,
it sounds like your path statement may be fouled up.

Right-click on My Computer, choose properties. Click on Advanced,
Environment Variables. In the System Variables box, look for Path, select
it, and choose Edit.

Minimally, your path should include:
%SystemRoot%;%SystemRoot%\System32;%SystemRoot%\System32\Wbem

Make sure those three elements are in there somewhere, and click OK, OK, OK.

Close and re-launch your command prompt (by the by, using CMD.EXE is far
preferred over using COMMAND.COM). Those programs should now be found along
the System Path.
 
Back
Top