Which command/batch use to simulate it?

Asked By 70 points N/A Posted on -

Hi everyone,

I want to know what command I can use for creating a BAT file for Sleep button. I know how to do the auto shutdown command but I am not really sure if it will work just the same. So which command I will use for simulating the Sleep button?

Many thanks for every help.


Answered By 0 points N/A #169866

Which command/batch use to simulate it?


The Windows Server Resource 2003 Resource Kit called sleep.exe provides a sleep utility you can download and drop into your System folder. There are many sleep utilities that can help you do this but use this first. The other thing you can do is to use the ping trick which is:


Ping -n 2 -w 1000 > NUL

Ping -n %1 -w 1000 > NUL

Login/Register to Answer

Related Questions