Is there any keyboard shortcut to close the Command Prompt window in Windows 7? Alt+F4 does not seem to work on a Command Prompt window.
I close it right now by typing exit and Enter at the prompt. Hoping there is a shorter trick.
|
Is there any keyboard shortcut to close the Command Prompt window in Windows 7? I close it right now by typing
| |||
|
feedback
|
|
Wrap CMD in Console2, which would give you CTRL+W to close tabs and ALT+F4 to exit. You will also be able to use CTRL+V to Paste, if you wish, which is one of the main reasons I use it. | |||
|
feedback
|
|
You could probably use a tool such as AutoHotKey to build a shortcut that would close the window. Or create a shortcut that runs a command using tskill to find all cmd windows and close them. That would cause problems if you ever use more than once CMD window at a time and want to close them only selectively. | |||
|
feedback
|
|
It depends from your choice of command interpreter. This is, of course, because it is your command interpreter that is (largely) determining how TUI command-line editing works. If you're using JP Software's TCC/LE, for example, an autoexecuting keystroke alias that does exactly this (and that doesn't suffer from the global hotkey problems mentioned in other answers) is simplicity itself to set up using the
With If you are running your command interpreter within Take Command, closing the current command tab is done with Ctrl+F4. | |||
|
feedback
|
|
no there isn't. I have been a network engineer for 10 years so I can assure this is the case. I use exit all the time. | |||||||||||
feedback
|