Is there an equivalent key-stroke for exiting a command prompt on Windows (launched via Start->Run : cmd) to the bash standby of Ctrl-d to prevent needing to type exit to leave the shell?
| |||
|
feedback
|
|
No. CtrlD on *nix generates a EOF, which various shells interpret as running | |||||||||
feedback
|
|
You can use DOSKEY to create macros in CMD.exe. To create a macro type:
That way you can bind a key to another command. Example:
would bind I'm not sure if you can use CTRL-$n combinations as macros though | |||
feedback
|