Delay in cmd scripts
Microsoft Windows does not have a delay function or application that can cause a specific delay in program execution for .cmd (and .bat) scripting. This can be overcome by pinging the localhost interface
ping -n seconds localhost > NUL:
This will delay the specified number of seconds before the script executes the next line of code.
Leave a Comment