Ping and ipconfig doesn't work in XP Home

G

Guest

Hello;

I have a 3 machine network. The Ping command works on 2 machines but not on
the third. On the command line, when I enter ping and an IP address of one
of other machines on the network I get the response 'ping' is not recognized
as an internal or external command, operable program or batch file. What
could be causing this problem? Also with I run ipconfig from the Run dialog
box on all 3 machines it looks like a the command line window flickers open
for a couple of seconds then it closes. Am I doing something wrong -
shouldn't the window stay open to give me the ipconfig information?

Thanks for your help!
 
S

Steve Winograd [MVP]

"Bill said:
Hello;

I have a 3 machine network. The Ping command works on 2 machines but not on
the third. On the command line, when I enter ping and an IP address of one
of other machines on the network I get the response 'ping' is not recognized
as an internal or external command, operable program or batch file. What
could be causing this problem?

In a command prompt window, type this command, which shows the folders
where Windows looks for command names:

echo %Path%

If the output from the command doesn't contain "C:\Windows\System32",
enter this command to add it:

set Path=C:\Windows\System32;%Path%

If Windows is installed in a different folder than C:\Windows,
substitute the correct folder name above.

If that doesn't help, search for a file named "ping.exe".
Also with I run ipconfig from the Run dialog
box on all 3 machines it looks like a the command line window flickers open
for a couple of seconds then it closes. Am I doing something wrong -
shouldn't the window stay open to give me the ipconfig information?

Open a command prompt window by typing "cmd" in the Start | Run box.
Then enter the ping, ipconfig, or other commands.
Thanks for your help!

You're welcome!
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
B

Bob Willard

Bill said:
Hello;

I have a 3 machine network. The Ping command works on 2 machines but not on
the third. On the command line, when I enter ping and an IP address of one
of other machines on the network I get the response 'ping' is not recognized
as an internal or external command, operable program or batch file. What
could be causing this problem? Also with I run ipconfig from the Run dialog
box on all 3 machines it looks like a the command line window flickers open
for a couple of seconds then it closes. Am I doing something wrong -
shouldn't the window stay open to give me the ipconfig information?

Thanks for your help!
Run CMD, then type IPCONFIG/ALL in the CMD window. That way, the info will
remain visible.

And, run CMD, then type PING in the CMD window. Should work that way.
 
G

Guest

Steve, thanks for your response.

I did what you suggested by typing the echo and then the set path command at
the command prompt. When I try to ping I am still getting 'ping' is not
recognized
as an internal or external command, operable program or batch file.

I did a search on the C drive for ping.exe and it is in the WINNT\Sys32
directory. I am still not able to get ipconfig to display anything. I also
searched for ipconfig.exe and it too is in the WINNT\Sys32 directory. These
two exe files also appear in a couple of other locations too. Should I
delete ping.exe and ipconfig.exe in the other locations that are not
WINNT\Sys32?

This is a strange problem. My network is working but the machine that the
ping and ipconfig doesn't work on is slow to open small folders on another
network machine and will not open folders with up to 400 20 Mb files. When I
try to open a large folder Windows Explorer or PhotoShop hangs and Task
Manager says Not Responding.

Do you have any other suggestions. Thanks very much for your help!

--
Regards,

Bill Artman
 
S

Steve Winograd [MVP]

"Bill said:
Steve, thanks for your response.

I did what you suggested by typing the echo and then the set path command at
the command prompt. When I try to ping I am still getting 'ping' is not
recognized
as an internal or external command, operable program or batch file.

I did a search on the C drive for ping.exe and it is in the WINNT\Sys32
directory. I am still not able to get ipconfig to display anything. I also
searched for ipconfig.exe and it too is in the WINNT\Sys32 directory. These
two exe files also appear in a couple of other locations too. Should I
delete ping.exe and ipconfig.exe in the other locations that are not
WINNT\Sys32?

This is a strange problem. My network is working but the machine that the
ping and ipconfig doesn't work on is slow to open small folders on another
network machine and will not open folders with up to 400 20 Mb files. When I
try to open a large folder Windows Explorer or PhotoShop hangs and Task
Manager says Not Responding.

Do you have any other suggestions. Thanks very much for your help!

You're welcome, Bill. Please answer these questions to help solve the
problem:

What is the value of the Path variable on your computer, as shown by
the "echo" command?

What is the full name of the folder that contains the ping.exe and
ipconfig.exe files? Include that name in the Path variable. You said
WINNT\Sys32, but the folder containing those files is usually named
System32. Is the folder on the C: disk or on another disk?

What other folders contain ping.exe and ipconfig.exe? Are the names
of those folders in the path?
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
G

Guest

Hello Steve;

Sorry it took a few days for me to respond to your suggestions. The first
time I tried your suggestion I didn't read close enough and I had trouble.
After typing your suggestion set Path=C:\Winnt\System32;%Path% the ping
command and ipconfig worked perfectly in the command window. When I closed
the commmand window and reopened it again later to type the ping and ipconfig
command the commands once again did not work. I then typed echo %Path% and I
found that the output did not contain c:\Winnt\System32.

Do you know why when I type set Path=C:\Winnt\System32;%Path% this command
is not saved?

Thanks again for all of your help!

Bill Artman





--
Regards,

Bill Artman
 
S

Steve Winograd [MVP]

"Bill said:
Hello Steve;

Sorry it took a few days for me to respond to your suggestions. The first
time I tried your suggestion I didn't read close enough and I had trouble.
After typing your suggestion set Path=C:\Winnt\System32;%Path% the ping
command and ipconfig worked perfectly in the command window. When I closed
the commmand window and reopened it again later to type the ping and ipconfig
command the commands once again did not work. I then typed echo %Path% and I
found that the output did not contain c:\Winnt\System32.

Do you know why when I type set Path=C:\Winnt\System32;%Path% this command
is not saved?

Thanks again for all of your help!

Bill Artman

You're welcome, Bill. Yes, the command that I gave you only applies
to the current command window. When you open a new one, you need to
re-enter the command. I forgot to mention that.

To make the Path change permanent:

1. Open the System control panel by clicking "Start | Control Panel |
System" or "Start | Control Panel | Performance and Maintenance |
System".

2. Click the Advanced tab.

3. Click the Environment Variables button.

4. Click "Path" in the "System variables" window.

5. Click Edit.

6. Add "C:\Winnt\System32;" to the start of the variable value.

7. Click OK twice.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
G

Guest

Steve Winograd said:
You're welcome, Bill. Yes, the command that I gave you only applies
to the current command window. When you open a new one, you need to
re-enter the command. I forgot to mention that.

To make the Path change permanent:

1. Open the System control panel by clicking "Start | Control Panel |
System" or "Start | Control Panel | Performance and Maintenance |
System".

2. Click the Advanced tab.

3. Click the Environment Variables button.

4. Click "Path" in the "System variables" window.

5. Click Edit.

6. Add "C:\Winnt\System32;" to the start of the variable value.

7. Click OK twice.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com



What causes this to happen in the first place?

Dennis
 

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


Top