N/APosted on - 11/12/2013
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.
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 127.01.01.1 -n 2 -w 1000 > NUL
Ping 127.0.0.1 -n %1 -w 1000 > NUL