DOS command not recognized in XP

  • Thread starter Thread starter Lou
  • Start date Start date
L

Lou

Using XP, and within the DOS command prompt, when I
attempt to Ping or determine the IP address the commands
are not recognized.
Example: at c:\ I type in ipconfig and the return message
is "'ipconfig' is not recognized as an internal or
external command, operable program or batch file."
This is the same response recieved when entering "ping".
Other commands are recognized "Dir" "Dir\p" etc.
Can you advise?
 
As far as I know, both commands are recognized in all versions of XP. Try
them first from the Run Box [just "ipconfig" not C: \ipconfig]. If they
don't show up, you probably are going to have to expand (copy) them from
your Windows CD.
 
Using XP, and within the DOS command prompt, when I
attempt to Ping or determine the IP address the commands
are not recognized.
Example: at c:\ I type in ipconfig and the return message
is "'ipconfig' is not recognized as an internal or
external command, operable program or batch file."
This is the same response recieved when entering "ping".
Other commands are recognized "Dir" "Dir\p" etc.
Can you advise?

You need to set your path environmental variable to include the folder
that has Ping in it - or manually navigate to the folder when in the
CLI. Setting the Path statement will only need to be done once, so
it's the preferable method.
 
Lou said:
Using XP, and within the DOS command prompt, when I
attempt to Ping or determine the IP address the commands
are not recognized.
Example: at c:\ I type in ipconfig and the return message
is "'ipconfig' is not recognized as an internal or
external command, operable program or batch file."

This sounds like something is wrong with the Path. Try a PATH command
at the command prompt; it should lead off with
C:\Windows\System32;C:\windows. . . .

If it doesn't, first check in windows\system32\autoexec.nt (and just
possibly config.nt) to see if a Path command has been put in there - if
so, edit it so that those two folders come first If not, go to
Control Panel - System - Advanced - in Environmental Variables look for
and Edit the Path line; there it should lead off when you highlight and
edit with
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM
 
Back
Top