Respond to this message
Return to Index
How do I run this kind of Shell Script?
Posted Mar 16, 2012 1:40 PM
This command works in a normal command prompt to turn on or off the hibernation setting at [screen saver>power>hibernate]
powercfg.exe /hibernate off
but how do i run it with SHELL?
this doesnt work:
SHELL _DONTWAIT _HIDE "cmd c\ powercfg.exe /hibernate off"
neither does this:
SHELL _DONTWAIT _HIDE "cmd c\ start powercfg.exe /hibernate off"
what would I do to make that work?
Also send responses to my email address