shutdown.exe timer

Posted by user311130 on Super User See other posts from Super User or by user311130
Published on 2010-05-06T23:56:07Z Indexed on 2010/05/08 2:29 UTC
Read the original article Hit count: 293

Filed under:
|

I'm trying to run

shutdown.exe -l -t 10

only showed shutdown help manual.

I thought of inelegant but working solution of

ping -n 10  localhost
shutdown.exe -l

How wasteful is this solution?

I thought of downloading sleep.exe, but I want my bat file to work on a machine with no previous preparations.

Any more ideas?

Thanks

© Super User or respective owner

Related posts about scripting

Related posts about Windows