08 October 2013

Wait, what?

Let's say you're a poor creature who needs to work with .bat files, in a jungle of custom scripts written by someone else.

Let's say one of the subscripts that should wait for something else doesn't work anymore for whatever reason.

Let's say it's late so you decide to go for a (close your eyes) hardcoded wait in a .bat file.

Well on Windows 7 and 2012 Server, you can just type:

timeout /t <seconds> /nobreak

You won't feel proud, but it might do the trick.


0 comments:

Post a Comment