Open shutdown dialog box from command prompt?

kenw232

New Member
Messages
2
I know I can open a shutdown dialog box with a shortcut to something like "(new ActiveXObject(“Shell.Application”)).ShutdownWindows();", but how do I do this from a command prompt?

What single command can I type at a DOS prompt to open a windows shutdown dialog box without needing any external files such as a shortcut.lnk? Anyone know?
 

My Computer

System One

  • OS
    Win8
The only way I have found to open a shutdown dialog box is to use the command
Code:
shutdown /i
But it does not look the way you would expect

Shutdow i.jpg

Also another way to open a shutdown dialog box is use
Code:
Alt + F4
And again this does not look the way you would expect

alt-f4-shutdown_thumb Win 8.png

Note: to use Alt + F4 and bring up the shutdown box you have to have focus on the desktop otherwise you will more than likely close the program that has focus
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro + 8.1 pro and 7 Utimate
    Computer type
    PC/Desktop
    CPU
    i3 2.53GHz
You may create a shortcut icon on desktop.
Shutdown: C:\windows\system32\shutdown.exe /s /t 0
restart: C:\windows\system32\shutdown.exe /r /t 0
 

My Computer

System One

  • OS
    windows 8
    Computer type
    PC/Desktop
Back
Top