Alias

From TotalcmdWiki
Jump to navigation Jump to search

Aliases provide easy access to your favorites via the command line of Total Commander. Aliases are often used to start an often used program, e.g. np to open notepad.exe. But aliases can also be used to open favorite folders, network folders, folders on ftp servers, file system plugin folders, websites, internal functions, programs or documents.

Usage

Simply type the alias at the command line of Total Commander and press the Enter key.

Define aliases

In the configuration dialog there is a combined hotkey and alias manager. To define aliases do the following:

  1. Select menu option Configuration/Options.
  2. In the list at the left, select the category Misc.
  3. In the section Redefine hotkeys, select the radio button before "Alias:".
  4. In the input field behind "Alias:", fill in the alias you want to define.
  5. Click the button with the magnifying glass to open the command browser.
  6. Select the command to assign to the alias:
    • To assign an internal command to the alias, select the command you want from the list.
    • To assign a user-defined command to the alias, select the bottommost category called "usercmd.ini". A command manager appears at the right. Create a new user-defined command or select an existing user-defined command.
    • To delete the alias, select the topmost command called "Default command (no remapping)"
  7. Click the OK button to close the command browser.
  8. Click on the button with the green checkmark to assign the command to the alias. (Don't skip this step!)
  9. Repeat step 4-8 to define more aliases.
  10. Click the OK button to close the configuration dialog.