Windows/cmd: pause execution n-secods

ping 1.1.1.1 -n 1 -w [millisecods] > nul
Interesting command (Windows/DOS command line) when a pause is requiered in execution of batch files. You must set time in milliseconds. Example:

ping 1.1.1.1 -n 1 -w 3000 > nul

Pause waiting 3 secods (3000 milliseconds).

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.