Windows/cmd: pause execution n-secods

ping -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 -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.