Pinging server using bat file.

Reply

Join Date: Jun 2005
Posts: 100
Reputation: Pim is an unknown quantity at this point 
Solved Threads: 0
Pim Pim is offline Offline
Junior Poster

Pinging server using bat file.

 
0
  #1
Dec 27th, 2008
Hello,

I'd like to use a .bat file to ping a server. I've tried:
ping www.google.com

And some variations, but then it just keeps repeating all the time.

Thank you.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 330
Reputation: freshfitz is an unknown quantity at this point 
Solved Threads: 27
freshfitz freshfitz is offline Offline
Posting Whiz

Re: Pinging server using bat file.

 
0
  #2
Dec 28th, 2008
What are you tring to do. if you use ping google.com in a .bat file that will ping google.com? So just use Ping <server ip>
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 392
Reputation: HoustonIT is an unknown quantity at this point 
Solved Threads: 40
HoustonIT HoustonIT is offline Offline
Posting Whiz

Re: Pinging server using bat file.

 
0
  #3
Jan 1st, 2009
try ping -n (number of requests) to limit the requests sent. For example

ping -n 5

would send 5 requests.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Windows NT / 2000 / XP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC