8
1
On Windows 8 if you press Alt+F4 with the desktop in focus, it displays a shutdown dialog. I was wondering if anyone knows of a way that this same dialog can be launched from the command line as I would like to remap the "ThinkVantage" button on my ThinkPad to display this message.
Does anyone know if this is possible? Using Task Manager I can see that the dialog is produced from explorer.exe
but I have no idea how to execute it manually.
3Open a command prompt, type "shutdown /i" no quotes and hit enter key, not quite the same gui but will perform the same function. – Moab – 2012-10-16T21:20:34.253
1
If its just about remapping the key you can use Autohotkey for that, alternatively there are also Registry hack to remap keys. MOre here.
– Ankit – 2012-10-19T19:56:20.2871Typically the system power button does this. It shouldn't be necessary to assign a second button. Is it not working on your system? – Michael Hampton – 2012-10-20T14:36:10.823