Hi, I'm looking for a way, either by programming in C++ or C, or even writing a script of some sort, like a batch file, to change advanced settings of power options in Windows XP. I know you can use Powercfg.exe to set the basic stuff, but it doesn't encompass this particular option, that is, changing the action of the power button. Any ideas? I appreciate any insight I can get on this... I have been Googling this for two days now!