2009-01-26, 08:12 PM
I have emailed sub privately, but hope to find out if anyone else has ideas on this.
Postprocessing.bat is run hidden, for fairly intelligent reasons. One side-effect of this is that this seems to limit utilities that need to interact with the user interface. In my case, I am trying to run POWERCFG to change the standby timeout, but it is having no effect from inside this batch file.
I have implemented a dodgy workaround involving piping the POWERCFG command to a batch file, and having the task scheduler check for it "every minute". I am using a small VBS script to run the batch file hidden, according to:
http://www.winhelponline.com/blog/ru...ommand-prompt/
This keeps the window hidden, but still passes through the UI-related commands. I feel clever, but not elegant.
I am wondering if anyone knows how to enable such utilities called from inside this file, while keeping the batch invisible?
Postprocessing.bat is run hidden, for fairly intelligent reasons. One side-effect of this is that this seems to limit utilities that need to interact with the user interface. In my case, I am trying to run POWERCFG to change the standby timeout, but it is having no effect from inside this batch file.
I have implemented a dodgy workaround involving piping the POWERCFG command to a batch file, and having the task scheduler check for it "every minute". I am using a small VBS script to run the batch file hidden, according to:
http://www.winhelponline.com/blog/ru...ommand-prompt/
This keeps the window hidden, but still passes through the UI-related commands. I feel clever, but not elegant.
I am wondering if anyone knows how to enable such utilities called from inside this file, while keeping the batch invisible?