Command prompt problem

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
 
M

Mike Kolitz

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top