Wednesday, 23 May 2018

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

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...