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

Posted on 2016-10-14
Last Modified: 2016-10-14
How to add SLEEP  to my runner.bat script??here my script:
Question by:john lambert
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 70

Expert Comment

ID: 41843193
PING -n 1 -w 5000 localhost > NUL

Open in new window

PING -n 6 localhost > NUL

Open in new window

PING -n 1 -w 5000 > NUL

Open in new window

where 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).

Author Comment

by:john lambert
ID: 41843215
i receive this error:

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

Open in new window

LVL 70

Accepted Solution

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

Author Closing Comment

by:john lambert
ID: 41843236
Problem solved,thank you!!!!!!

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT ( The crux of this batch f…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 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