Navigation

From TotalcmdWiki
Jump to: navigation, search

Total Commander offers a navigation through multiple ways. These are listed in this article.


Navigation to virtual folders

Total Commander includes a set of internal commands to navigate to the most common virtual folders in Windows. The folder-specific context menu are also supported. For example "Empty recycle bin" or "Restore" are available.

The following virtual folders are fully supported:

Virtual folder Command
Desktop cm_OpenDesktop
My Computer cm_OpenDrives
Controls cm_OpenControls
Fonts cm_OpenFonts
Network neighborhood cm_OpenNetwork
Printhood cm_OpenPrinters
Recycle bin cm_OpenRecycled

Other virtual folders

Even if the desired virtual folder does not participate in this list, please proceed as follows:

  1. Guarantee that the setting: Save on exit: Directories is activated
  2. Navigate into your desired virtual folder manually
  3. Close Total Commander
  4. Start Total Commander
  5. The virtual folder should be opened as well
  6. Menu: Call Configuration: Change Settings Files Directly
  7. In the main settings file (usually Wincmd.ini) look for [ Left ] or [ right ] depending in which side the folder was opened.
  8. In this section there is the entry "Path".
  9. This value must be copied now straght behind the command "cd " into the desired navigation element.

Pseudo environment variables

In version 6.5 of Total Commander numerous differently pseudo environment variables were introduced. Environment variables are in the registration already existing assignments between names and locations. In the following list the actually supported pseudo environment variables are specified.

%COMMANDER_EXE% (TC 8)
%COMMANDER_DRIVE% (TC 7)
%COMMANDER_INI% (TC 7)
%COMMANDER_PATH%
%U3_DEVICE_EXEC_PATH%
%$APPDATA%
%$COMMON_APPDATA%
%$COMMON_DESKTOPDIRECTORY%
%$COMMON_DOCUMENTS%
%$COMMON_PICTURES%
%$COMMON_PROGRAMS%
%$COMMON_STARTMENU%
%$COMMON_STARTUP%
%$DESKTOP%
%$FONTS%
%$LOCAL_APPDATA%
%$MYMUSIC% (TC 7, XP only)
%$MYPICTURES%
%$MYVIDEO% (TC 7, XP only)
%$PERSONAL%
%$PROGRAMS%
%$STARTMENU%
%$STARTUP%

By using these commands one is able to navigate from each place fast and secure to their locations. Pseudo environment variables can be combined without problems with subordinated directories.

cd %$APPDATA%\Opera 

For environment variables with the same name lowercase letters are to be used.