shell-command command-line| Keys | Menu | |
| X | Alt+! | Tools/Shell/Shell Command... |
| MS | Control+! or Control+Alt+! | Tools/Shell/Shell Command... |
Pass the given command-line to the operating system to be executed as a command. Put the output of the execution in a buffer named *shell*.
The shell under which the command-line is executed is controlled by the resource named shellExec. This should be the full pathname of the shell along with any necessary flags. The default is /bin/csh -f. [X] or cmd.exe [MS] The shell is invoked with a command that sets its working directory to the current working directory of the buffer from which the command was invoked.