Add delay in batch file
Posted: 13 Jul 2017 07:45
Hi,
Is there any way to add delay 2 seconds delay in batch file?
I normally use ping command but too many batch files sending ping to ipv6 is putting load on it and then I notice windows server 2016 is getting sluggish after few days. This start happens first in server 2012 recent update then I moved to windows server 2016 but this is happening in it as well. So i thought its better to use some other way to add delay in batch files.
ping -n 2 127.0.0.1
Thanks
Is there any way to add delay 2 seconds delay in batch file?
I normally use ping command but too many batch files sending ping to ipv6 is putting load on it and then I notice windows server 2016 is getting sluggish after few days. This start happens first in server 2012 recent update then I moved to windows server 2016 but this is happening in it as well. So i thought its better to use some other way to add delay in batch files.
ping -n 2 127.0.0.1
Thanks