Registry

From TotalcmdWiki
Revision as of 09:39, 7 July 2024 by White (talk | contribs) (→‎Main settings: Fixed mistake: The value RestrictInterface is in the subkey Configuration. Added types of the values.)
Jump to navigation Jump to search

The Windows registry is used by Total Commander for a limited amount of settings. These settings are related to things like the installation folder, filenames of configuration files, interface restrictions, sound scheme, Total Commander license, AutoPlay handler, uninstall information.

Total Commander's associate feature also utilizes the registry since it is meant to change system-wide associations (unlike the internal associations).

Main settings

Total Commander's main registry settings are:

Total Commander subkey
HKEY_CURRENT_USER\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander
Value name Type Description
FtpIniName String Specifies the path and filename of the FTP configuration file wcx_ftp.ini.
IniFileName String Specifies the path and filename of the main configuration file wincmd.ini.
InstallDir String Specifies the installation folder of Total Commander.
Key Binary Contains a Total Commander license.
Configuration subkey
HKEY_CURRENT_USER\Software\Ghisler\Total Commander\Configuration
HKEY_LOCAL_MACHINE\Software\Ghisler\Total Commander\Configuration
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Ghisler\Total Commander\Configuration
Value name Type Description
RestrictInterface DWORD (32-bit) Controls interface restrictions for users.

Sound scheme

Total Commander can add its own sound scheme to Windows to customize audio feedback. This is achieved by changing the Windows registry. Here's how you can instruct Total Commander to do this:

  • Select menu option: Configuration/Options
  • Select category: Misc
  • Under Custom sounds, click the Configure button.
    (Settings are added to the registry even if you click Cancel in the next dialog.)

Added registry entries

The following entries are added to the registry:

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd]
@="Total Commander"
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdConnected]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdCopyComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdDeleteComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdPackComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdSearchComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdTransferComplete]
[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd\WincmdUnpackComplete]

[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdConnected]
@="Connected (FTP)"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdCopyComplete]
@="Copy/Move complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdDeleteComplete]
@="Delete complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdPackComplete]
@="Pack complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdSearchComplete]
@="Search complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdTransferComplete]
@="Transfer complete"
[HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdUnpackComplete]
@="Unpack complete"

Deleting the sound scheme

The Total Commander sound scheme in Windows can be deleted by running a .reg file containing the following:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Wincmd]

[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdConnected]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdCopyComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdDeleteComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdPackComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdSearchComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdTransferComplete]
[-HKEY_CURRENT_USER\AppEvents\EventLabels\WincmdUnpackComplete]

AutoPlay handler

TcUsbRun.exe, included with Total Commander, enables (un)installation of an AutoPlay handler in the registry. This enables the user to choose between running Total Commander as a client or server when a USB cable is connected. (A list of supported USB cables for use with Total Commander can be found here.)

Leftovers

Registry entries are not deleted by Total Commander's uninstall program.

External links