Custom function for power button ?

ahmedam3

Reputable
Dec 11, 2014
10
0
4,520
so i have an issue with origin that makes my pc restart instead of shutting down if i don't quit/kill it, so i want use a .Bat to kill it then shutdown whenever i press the power button, Is this possible ? And if not is there a solution for this issue ?
 
no, i mean i want to assign a .bat file to run when the on/off button is pressed