windows - How to detect the event of the power button being pressed
Is there a way in windows to detect the event of pressing the physical power button, and after detecting the event execute or run a batch file. I basically want to run a batch file that reboots the computer once the power button is pressed
No comments:
Post a Comment