shutdown.exe timer

Posted by user311130 on Stack Overflow See other posts from Stack Overflow or by user311130
Published on 2010-05-06T23:56:07Z Indexed on 2010/05/06 23:58 UTC
Read the original article Hit count: 204

Filed under:

hey,

tryingto run

shutdown.exe -l -t 10

only showed shutdown help manual.

I thought of unekegant but working solution of

ping -n 10  localhost
shutdown.exe -l

How wasty is is that solution?

I thought of downloading sleep.exe, but I want my bat file to work on machine with no previuse preperations.

any more ideas? Thanks

© Stack Overflow or respective owner

Related posts about scripting