-
Windows 7 "Sleep is not recognised" etc. Error in Batch File
I have a batch file that I use to: Create a restore point, then swap out my modified system files. I store the "Sleep.exe" file in the same folder as the batch file. The script goes something like: echo Please wait while a Restore Point is made. sleep 17 Take ownership,Rename Replace, Blah...- Elmer
- Thread
- admin rights batch file cmd execution command prompt error file deletion file modification file ownership icon cache rename command restore point script error scripting shutdown command sleep command system files system32 syswow64 task management windows
- Replies: 5
- Forum: Programming and Scripting
-
K
Windows 7 Windows 7 Sleep Command
Hi, I'm new of here. Could anyone tell me the sleep command of Windows 7? I have try that: Rundll32.exe Powrprof.dll,SetSuspendState Sleep but it doesn't work, it will become hibenate. My powercfg C:\>powercfg -a 此系統有以下幾種睡眠狀態: 待命 ( S1 S3 ) 休眠 混合式睡眠 此系統缺乏以下幾種睡眠狀態: 待命 (S2)...- Kones
- Thread
- compatibility hibernate power management powercfg sleep command sleep mode system settings troubleshooting user support windows 7
- Replies: 6
- Forum: Windows Help and Support