Solved

How to add SLEEP  to my runner.bat script??

Posted on 2016-10-14
4
30 Views
Last Modified: 2016-10-14
How to add SLEEP  to my runner.bat script??here my script:
autorunner-script.txt
0
Comment
Question by:john lambert
  • 2
  • 2
4 Comments
 
LVL 68

Expert Comment

by:Qlemo
Comment Utility
Replace
:SLEEPFN
PING -n 1 -w 5000 localhost > NUL
GOTO :EOF

Open in new window

with
:SLEEPFN
PING -n 6 localhost > NUL
GOTO :EOF

Open in new window

or
:SLEEPFN
PING -n 1 -w 5000 10.11.12.13 > NUL
GOTO :EOF

Open in new window

where 10.11.12.13 should not be reachable in your LAN (using a non-routable, private address instead of an arbitrary public one has the pro the packet will not leave your LAN).
1
 

Author Comment

by:john lambert
Comment Utility
i receive this error:

'SLEEPFN' is not recognized as an internal or external command,
operable program or batch file.

Open in new window

0
 
LVL 68

Accepted Solution

by:
Qlemo earned 500 total points
Comment Utility
The change cannot cause that. Your script did have the same issue before.
The call SLEEPFN needs to be call :SLEEPFN .
1
 

Author Closing Comment

by:john lambert
Comment Utility
Problem solved,thank you!!!!!!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now