Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

batch programming help needed

Status
Not open for further replies.

mr_anderson

Advanced Member level 4
Joined
Jan 23, 2007
Messages
100
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,298
Activity points
2,005
Hi
i want to write a batch program that pings a speific IP each 2 minutes
for example let the site be yahoo.com with its IP address of 87.248 .113.14 i want to write a batch program (.bat) file to ping that IP each 2 minutes, any ideas please or any one who knows how to make delay of 1 minute using batch commands.
the structure of the programm would be:
1- ping ( ping 87.248.113.14)
2- wait for 1 minute ( i donot know how to make it)
3- goto begining ( i donot know how to make it )
thank you
 

did you check the ping command help?. Read the help of ping for -n and -w option.

Added after 9 minutes:

Check if this helps...

**broken link removed**

check the Fixed-time delays section
 

thank u for the info.
i used to the ping command in the form
ping 1.0.0.0 -w 60000 -t

the 1.0.0.0 will report a request timed out after 60000 milli-seconds which equals to 60 seconds and by varying the 60000 to any other number i have controlled the delay :D .
thank u
 

due want .bat in ms command prompet or ???
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top