Sleep in CMD

From The IT Community
Jump to: navigation, search

Nearly everyone who has ever written a CMD batch file has wished for a possibility to "sleep" for a certain time (which means, wait and do nothing).

Well, in the newer versions of Windows, you finally can:

  • Open a CMD.
  • Type

followed by the time (in seconds) you want to sleep.

  • Press Enter and wait.

The timeout command also gives you the possibility to press any key to skip the sleeping period.

Was this article helpful? Then please donate to keep The IT Community alive...

If you found this article helpful please share it, comment and help others by writing your own article.

Translate this page:

Articles found in the same category:
(max. 20 shown)