Backup: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
(Improved various texts and improved readability of the source text,)
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
This page describes how to create a '''backup''' of your settings and customizations of [[Total Commander]].
== When to backup ==
 
If you are installing Total Commander over an existing installation you usually do not need to backup anything (for exceptions, see [[#Additionally|"Additionally"]] below). If you, however, want to install Total Commander on another computer or are planning to reformat your hard drive, these are the files you need to backup:
When installing Total Commander over an existing installation you usually do not need to back up anything (for exceptions, see [[#Files overwritten by the installer|Files overwritten by the installer]]). If you, however, want to install Total Commander on another computer or are planning to reformat your hard drive, you need to create a backup.


== What to backup ==
== What to backup ==
*; wincmd.ini : This file stores all of your Total Commander related settings except those concerning FTP connections
*; wincmd.ini
:: [[wincmd.ini]] is the main [[Ini-settings|configuration file]] of Total Commander and contains most settings except those concerning FTP connections.


*; wcx_ftp.ini : Here are all FTP related settings, most importantly your FTP connections (which you see when you press Ctrl-F)
*; wcx_ftp.ini
:: [[wcx_ftp.ini]] contains the FTP related settings, most importantly your FTP connections within the FTP client of Total Commander (menu option ''Net'' -> ''FTP Connect... Ctrl+F'').


: The location of these files is stored in the registry and can be modified, so it can be different on every computer. To see where these INI files are located, just click on Help - About Total Commander...
The locations of above files are usually stored in the registry and can be modified, so it can be different on every computer. To see where these INI files are located, select menu option ''Help'' -> ''About Total Commander...''.


*; wincmd.key <br/><!--
--> tcmdkey.zip
:: Either of these files contains your Total Commander licence if you are using a registered version of Total Commander. <br/><!--
--> <code>tcmdkey.zip</code> contains <code>wincmd.key</code>. ''(The compression rate of the zip file must be zero!)''


*; wincmd.key<br/>tcmdkey.zip : Either of these is your keyfile if you are using a registered version of Total Commander.
*; *.bar files
:: These files store your button bar(s). <code>No.bar</code> is an exception, as this is an automatically generated empty button bar.


*; <nowiki>*</nowiki>.bar files : These files store your button bar(s). ''No.bar'' is an exception, as this is an automatically generated empty button bar.
*; *.tab files
:: Folder tabs are usually saved in <code>wincmd.ini</code>, but they can also be saved in *.tab files. The *.tab files can be located anywhere, but the default location can be set in the <code>[Configuration]</code> section of your wincmd.ini file with the setting <code>tabdir=</code>.


*; usercmd.ini : This file store user defined commands (em_commands).
*; usercmd.ini
:: This file stores the user defined commands (em_commands).


*; tcignore.txt : This file store by default the ignore list. The file name is user configurable though.
*; tcignore.txt
:: This is the default filename of the file containing the ignore list. The file name is user configurable though.


*; Language\<nowiki>wcmd_*</nowiki>.ini : Files of this type stores user defined commands that are available when using the corresponding wcmd_<nowiki>*</nowiki>.mnu file.
*; Language\wcmd_*.ini
:: Files of this type store user defined commands that are available when using the corresponding wcmd_*.mnu file.


=== Additionally ===
*; Language\wcmd_*.chm
Some files get overwritten when you install Total Commander on top of itself. You either need to back them up or change their attributes to read-only.
:: Additional help files you installed.
*; wcmzip32.dll : In case you replaced the default ''wcmzip32.dll'' with the encryption-enabled alternative.


*; Language\<nowiki>*</nowiki>.mnu<br/>Language\<nowiki>*</nowiki>.lng<br/>Language\<nowiki>*</nowiki>.inc<br/> : If you are using modified menu or language files.
*; wciconex.dll <br/><!--
--> wciconex.inc
:: These files can be downloaded at https://ghisler.fileburst.com/addons/wciconex.zip. It includes an extended version of <code>wcmicons.dll</code> with additional 48x48 pixel icons for internal commands.


=== Plugins ===
*; totalcmdDark.chm
Do not forget to backup plugin configurations. Usually, each plugin uses its own settings file, however, some use the proposed ''pkplugin.ini'', ''lsplugin.ini'', ''fsplugin.ini'' or ''contplug.ini'' located usually in the same directory as ''wincmd.ini''. See each plugin's documentation for details about where it stores its settings.
:: Optional help file, automatically used for Dark mode. Download: https://ghisler.ch/board/viewtopic.php?t=58110


*; totalcmd.inc : If you've made changes to the file totalcmd.inc especially when you added lines to define more '''cm_usermenu11''' commands or those to access the drives '''cm_GotoDriveG''' or Tabs '''cm_SrcActivateTab11''', '''cm_TrgActivateTab11''', '''cm_LeftActivateTab11''', '''cm_RihgtActivateTab11''' directly a backup of this file is a must. The totalcmd.inc provided with TC installer contains only few of the mentioned commands and it will overwrite the file to make the new internal commands accessible to the user.
=== Files overwritten by the installer ===
Some files you may have changed, get overwritten when you install Total Commander over an existing installation. You either need to back them up or change their attributes to read-only.
 
*; wcmzip32.dll
:: In case you replaced the default <code>wcmzip32.dll</code> file with the encryption-enabled alternative.
:: ''(Note: Since Total Commander 7.0, Total Commander comes with an encryption-enabled wcmzip32.dll file!)''
 
*; sfxhead.sfx
:: If you replaced the default <code>sfxhead.sfx</code> file with an alternative.
:: (This file contains the header to be added to zip files when creating self extracting zip files.)
 
*; Language\wcmd_*.mnu <br/><!--
--> Language\wcmd_*.lng <br/><!--
--> Language\wcmd_*.inc <br/>
:: If you are using modified menu or language files.
 
*; totalcmd.inc
:: If you've made changes to this file, for example when you added lines to define more '''cm_usermenu*''' commands, or commands to access drives ('''cm_GotoDrive*''') or Tabs ('''cm_SrcActivateTab*''', '''cm_TrgActivateTab*''', '''cm_LeftActivateTab*''', '''cm_RightActivateTab*'''). The <code>totalcmd.inc</code> file provided with the [[Installer|Total Commander installer]] contains only few of the mentioned commands and it will overwrite the file to make the new internal commands available to the user.
 
*; wcmicons.inc
:: If you have made changes to this file that stores the correlation between icons and internal commands in Total Commander.
 
*; descript.ion
:: if you have added or downloaded extra descriptions for Total Commanders files.
 
=== Plugin configuration files ===
Usually each plugin uses its own settings file, see each plugin's documentation for details about where it stores its settings. <br/><!--
--> Some plugins use the proposed common ini files:<br/>
*; pkplugin.ini <br/><!--
--> lsplugin.ini <br/><!--
--> fsplugin.ini <br/><!--
--> contplug.ini
:: These file are usually located in the same folder as ''wincmd.ini''.


== Where to find those files?==
== Where to find those files?==


The location of the files ''wincmd.ini'', and ''wcx_ftp.ini'' and ''pkplugin.ini'', ''lsplugin.ini'', ''fsplugin.ini'', and ''contplug.ini'' you can ascertain by opening from menu: Help -> About Total Commander...
The location of the files <code>wincmd.ini</code>, and <code>wcx_ftp.ini</code> and <code>pkplugin.ini</code>, <code>lsplugin.ini</code>, <code>fsplugin.ini</code>, and <code>contplug.ini</code> can be determined by selecting menu option ''Help'' -> ''About Total Commander...''
 
[[image:abouttc.png|center]]


[[image:About1.png|center]]


The files <code>totalcmd.inc</code>, <code>wcmzip32.dll</code>, and <code>sfxhead.sfx</code>, are located in the program folder of Total Commander.


The files ''totalcmd.inc'', ''wcmzip32.dll'', and ''Sfxhead.sfx'', are located in the program folder of Total Commanders.
The menu and language files you can find in the folder <code>LANGUAGE\</code> within the program folder of Total Commander.


The menu and language files you can find in the folder  LANGUAGE\ within the program dir of TC.
You can go directly to the currently used wincmd.ini file by executing: <code>cd %COMMANDER_INI%</code> on Total Commander's command line.


{{Backlink|Configuration|Configuration}}
{{Backlink|Configuration|Configuration}}


[[de:Backup]]
[[de:Backup]]

Latest revision as of 13:31, 14 August 2023

This page describes how to create a backup of your settings and customizations of Total Commander.

When installing Total Commander over an existing installation you usually do not need to back up anything (for exceptions, see Files overwritten by the installer). If you, however, want to install Total Commander on another computer or are planning to reformat your hard drive, you need to create a backup.

What to backup

  • wincmd.ini
wincmd.ini is the main configuration file of Total Commander and contains most settings except those concerning FTP connections.
  • wcx_ftp.ini
wcx_ftp.ini contains the FTP related settings, most importantly your FTP connections within the FTP client of Total Commander (menu option Net -> FTP Connect... Ctrl+F).

The locations of above files are usually stored in the registry and can be modified, so it can be different on every computer. To see where these INI files are located, select menu option Help -> About Total Commander....

  • wincmd.key
    tcmdkey.zip
Either of these files contains your Total Commander licence if you are using a registered version of Total Commander.
tcmdkey.zip contains wincmd.key. (The compression rate of the zip file must be zero!)
  • *.bar files
These files store your button bar(s). No.bar is an exception, as this is an automatically generated empty button bar.
  • *.tab files
Folder tabs are usually saved in wincmd.ini, but they can also be saved in *.tab files. The *.tab files can be located anywhere, but the default location can be set in the [Configuration] section of your wincmd.ini file with the setting tabdir=.
  • usercmd.ini
This file stores the user defined commands (em_commands).
  • tcignore.txt
This is the default filename of the file containing the ignore list. The file name is user configurable though.
  • Language\wcmd_*.ini
Files of this type store user defined commands that are available when using the corresponding wcmd_*.mnu file.
  • Language\wcmd_*.chm
Additional help files you installed.
  • wciconex.dll
    wciconex.inc
These files can be downloaded at https://ghisler.fileburst.com/addons/wciconex.zip. It includes an extended version of wcmicons.dll with additional 48x48 pixel icons for internal commands.
  • totalcmdDark.chm
Optional help file, automatically used for Dark mode. Download: https://ghisler.ch/board/viewtopic.php?t=58110

Files overwritten by the installer

Some files you may have changed, get overwritten when you install Total Commander over an existing installation. You either need to back them up or change their attributes to read-only.

  • wcmzip32.dll
In case you replaced the default wcmzip32.dll file with the encryption-enabled alternative.
(Note: Since Total Commander 7.0, Total Commander comes with an encryption-enabled wcmzip32.dll file!)
  • sfxhead.sfx
If you replaced the default sfxhead.sfx file with an alternative.
(This file contains the header to be added to zip files when creating self extracting zip files.)
  • Language\wcmd_*.mnu
    Language\wcmd_*.lng
    Language\wcmd_*.inc
If you are using modified menu or language files.
  • totalcmd.inc
If you've made changes to this file, for example when you added lines to define more cm_usermenu* commands, or commands to access drives (cm_GotoDrive*) or Tabs (cm_SrcActivateTab*, cm_TrgActivateTab*, cm_LeftActivateTab*, cm_RightActivateTab*). The totalcmd.inc file provided with the Total Commander installer contains only few of the mentioned commands and it will overwrite the file to make the new internal commands available to the user.
  • wcmicons.inc
If you have made changes to this file that stores the correlation between icons and internal commands in Total Commander.
  • descript.ion
if you have added or downloaded extra descriptions for Total Commanders files.

Plugin configuration files

Usually each plugin uses its own settings file, see each plugin's documentation for details about where it stores its settings.
Some plugins use the proposed common ini files:

  • pkplugin.ini
    lsplugin.ini
    fsplugin.ini
    contplug.ini
These file are usually located in the same folder as wincmd.ini.

Where to find those files?

The location of the files wincmd.ini, and wcx_ftp.ini and pkplugin.ini, lsplugin.ini, fsplugin.ini, and contplug.ini can be determined by selecting menu option Help -> About Total Commander...

Abouttc.png


The files totalcmd.inc, wcmzip32.dll, and sfxhead.sfx, are located in the program folder of Total Commander.

The menu and language files you can find in the folder LANGUAGE\ within the program folder of Total Commander.

You can go directly to the currently used wincmd.ini file by executing: cd %COMMANDER_INI% on Total Commander's command line.


Back to Configuration