Command line
 
All letters you type are redirected to the command line. By pressing ENTER you can execute the command line. Supports environment variables. Old command lines are saved in a history list. By pressing CTRL+Cursor down you can open this history list. Choose an entry using the cursor keys up or down, then press the left or right cursor key to close the history list. You can press Shift+Del to remove a no longer wanted item from the history list.
 
Press Shift+Enter to open a command in a command line window which stays open after the command ends.
Start the command with an asterisk * to run as administrator, or two asterisks ** to run as a different user. *cmd will be replaced with cmd.exe in the System32 directory.
 
In Configuration - Options - Misc., you can define alias commands to start often used programs and internal commands, e.g. np to open notepad.exe.
 
The command line also handles internal commands starting with cm_ and em_, and commands with parameters like OPENTABS. The latter must be written in capital letters.
 
The "cd" command is handled internally to change the current directory in the active panel. If you give the name of a file, TC will place the cursor on that file. Paths in the following formats are supported:
c:\Windows
\\server\share\directory
file:///c|/Windows
file:///c:/Windows
file://localhost/c|/Windows
file://localhost/c:/Windows
file://server/share/directory
file://c:/Program%20Files
 
When viewing an FTP directory in the active panel, commands are sent directly to the FTP server. Users can typically use the HELP command on most FTP servers to retrieve a list of available commands. The cd command (lowercase) is translated by Total Commander to the appropriate FTP command and sent to the server. The CD command (uppercase) is executed as a regular cd command within Total Commander.
 
When the active panel displays a directory from a file system plugin (e.g., SFTP), commands are initially sent to the plugin. If the plugin doesn't handle the command, Total Commander will process it. For example, 'cd directory' (lowercase) is handled by the SFTP plugin, but 'CD directory' (uppercase) is handled by Total Commander. But this really depends on the implementation of the particular plugin.
 
If the command line is turned off, it will be enabled automatically when typing in some characters.
 
The maximum length of the command line is limited to 2047 characters on Windows 2000, and 8191 characters on Windows XP (the maximum supported by these operating systems).
 
For a list of all function keys see Command line: keys