Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a Ping batch file in Windows 2000 pro

Status
Not open for further replies.
Dec 17, 2002
34
0
0
US
This is so easy it is embarrassing to ask. I am trying to create a ping batch file to ping 3 ip address in succession. Example: ping 192.168.xxx.xxx
ping 198.88.xxx.xxx
ping 198.88.xxx.xxx
I am using the command prompt in Windows 2000 professional.
I keep getting a message that I have entered an invalid parameter. Example: ping 192.168.xxx.xxx is not recognized as an internal or external command.

Any help would be great. Thanks
 
Check to make sure you have ping.exe in your %systemroot%\system32 folder.
 
Open up a cmd window and enter the ping command. What happens? Make sure PING is in your default path (%systemroot%\system32).

WW
 
In the batch file start with a change directory and change to the system32 folder.
cdcd windows\system32
ping 192.x.x.x
 
Well, I sure hope we all just answered at the same time instead of simply repeating what the previous poster said! ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top