Total7zip
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 37
- Joined: 2023-08-31, 20:08 UTC
Re: Total7zip
The doc says the following: "If Total Commander is started in portable mode, Total7zip.xml will be stored in the plugin folder, as it was in previous versions. Default path is %COMMANDER_PATH%\Plugins\WCX\Total7zip\Total7zip.xml In all other cases Total7zip.xml will be saved to the directory where Total Commander stores the wincmd.ini."
I have Total commander in a folder like D:\TCmd, placed there via unzipping the installer, i.e. not actually installing it. If the folders structure is
D:\TCmd
D:\TCmd\ini
D:\TCmd\plugins
D:\TCmd\tools
then Total7zip.xml is stored in the folder D:\TCmd\plugins\Total7zip. But if the folders structure is
D:\TCmd\bin
D:\TCmd\ini
D:\TCmd\plugins
D:\TCmd\tools
i.e. with all the TC files in the bin folder, then Total7zip.xml is stored in the folder D:\TCmd\ini.
Why this difference? What does "portable mode" actually mean? Thank you.
I have Total commander in a folder like D:\TCmd, placed there via unzipping the installer, i.e. not actually installing it. If the folders structure is
D:\TCmd
D:\TCmd\ini
D:\TCmd\plugins
D:\TCmd\tools
then Total7zip.xml is stored in the folder D:\TCmd\plugins\Total7zip. But if the folders structure is
D:\TCmd\bin
D:\TCmd\ini
D:\TCmd\plugins
D:\TCmd\tools
i.e. with all the TC files in the bin folder, then Total7zip.xml is stored in the folder D:\TCmd\ini.
Why this difference? What does "portable mode" actually mean? Thank you.
#155067 Personal licence (March 2007)
-
- Junior Member
- Posts: 37
- Joined: 2023-08-31, 20:08 UTC
Re: Total7zip
I believe that the actual answer is this one:
“Now it supports what you want - if TC stores wincmd.ini _anywhere_ _inside_ %COMMANDER_PATH% folder, the plugin creates Total7zip.xml in its own folder.”
“Now it supports what you want - if TC stores wincmd.ini _anywhere_ _inside_ %COMMANDER_PATH% folder, the plugin creates Total7zip.xml in its own folder.”
#155067 Personal licence (March 2007)
Re: Total7zip
Here, TC runs in portable mode.
The plugin is stored under
C:\Tools\Wincmd\PLUGINS\Total7zip\
The Total7zip.xml is stored as
C:\Tools\Wincmd\PLUGINS\Total7zip\Total7zip.xml
Your folders bin, ini and tools are not part of a standard portable TC installation.
The plugin is stored under
C:\Tools\Wincmd\PLUGINS\Total7zip\
The Total7zip.xml is stored as
C:\Tools\Wincmd\PLUGINS\Total7zip\Total7zip.xml
Your folders bin, ini and tools are not part of a standard portable TC installation.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
-
- Junior Member
- Posts: 37
- Joined: 2023-08-31, 20:08 UTC
Re: Total7zip
So portable mode implies that %COMMANDER_INI%\.. is actually the same as %COMMANDER_PATH%, and plugins is a folder of %COMMANDER_PATH%. Thank you!
#155067 Personal licence (March 2007)
Re: Total7zip
%COMMANDER_INI% may point to some other path if TC was started with a /I= parameter.Profane0360 wrote: 2023-09-28, 12:34 UTC So portable mode implies that %COMMANDER_INI%\.. is actually the same as %COMMANDER_PATH%, and plugins is a folder of %COMMANDER_PATH%. Thank you!
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
-
- Junior Member
- Posts: 37
- Joined: 2023-08-31, 20:08 UTC
Re: Total7zip
Then I am confused. When Total7zip.xml stays in its own folder? According to the doc this happens in the case of a portable setup. Not a “standard” portable setup. What does that mean?
o I can start TC with my ini files elsewhere. Does this make the setup not portable? It shouldn’t.
o I can have other tools that I need, where these stay is irrelevant for the setup itself.
So my conclusion is that a portable setup has to have the plugins folder inside %COMMANDER_PATH%, and not elsewhere. This is the only major difference between my two scenarios.
o I can start TC with my ini files elsewhere. Does this make the setup not portable? It shouldn’t.
o I can have other tools that I need, where these stay is irrelevant for the setup itself.
So my conclusion is that a portable setup has to have the plugins folder inside %COMMANDER_PATH%, and not elsewhere. This is the only major difference between my two scenarios.
#155067 Personal licence (March 2007)
Re: Total7zip
2Profane0360
You can actually force the location of plugin ini-files:
You cannot use %COMMANDER_PATH% it points to D:\TCmd\bin
You can actually force the location of plugin ini-files:
So try:Help wrote: [ReplaceIniLocation] Set a different ini file location for specific plugins, via function *SetDefaultParams, parameter DefaultIniName, via line pluginfile.ext=c:\path\newinifile.ini or pluginfile.ext=c:\path\ - the plugin may ignore the name and just use the path.
pluginname.ext= New location of ini file sent to the plugin. The plugin name must be specified without path, and with extension as configured in wincmd.ini, e.g. sftpplug.wfx
Special values:
* send default value, but redirect to user profile if location not writable (default for packer, file system, and lister plugins)
- send default value, but do not redirect to user profile on fail (default for content plugins)
Code: Select all
[ReplaceIniLocation]
Total7zip.wcx=%COMMANDER_DRIVE%\TCmd\Plugins\WCX\Total7zip\Total7zip.xml
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 37
- Joined: 2023-08-31, 20:08 UTC