DOS command not recognized in XP

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?
 
G

Gene K

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.
 
N

NobodyMan

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.
 
A

Alex Nichol

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
 

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

Similar Threads

Obtaining IP address 1
Command line functions not recognized 1
DOS command 15
Commands not recognized in cmd window 3
I can't execute in CMd any prog' 1
DOS not working 6
Command Prompt 1
Dos commands 2

Top