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.4061)
TC 11.55 RC3 x64 / x86
Everything 1.5.0.1393a (x64), Everything Toolbar 1.5.3.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC3 x64 / x86
Everything 1.5.0.1393a (x64), Everything Toolbar 1.5.3.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 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.4061)
TC 11.55 RC3 x64 / x86
Everything 1.5.0.1393a (x64), Everything Toolbar 1.5.3.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC3 x64 / x86
Everything 1.5.0.1393a (x64), Everything Toolbar 1.5.3.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 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.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
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
Re:
This is something I constantly run into. Is there any other way/plugin to have support for renaming files/folders inside 7z archives from within TC?wanderer wrote: 2012-11-15, 08:15 UTCAlso, i've noticed that when trying to rename a file inside a rar or a 7z archive, TC reports "function not supported". In http://www.7-zip.org/history.txt:
This would be a nice addition.9.29 alpha 2012-09-07
-------------------------
- Command line version:
- new "rn" command to rename files in archive.
Re: Total7zip
2Guillaume
Since TC 11.50 you can rename files inside .7z archives if the option "Configuration" -> "7-Zip packer" -> "Open with 7-Zip plugin if installed" is NOT enabled.
Since TC 11.50 you can rename files inside .7z archives if the option "Configuration" -> "7-Zip packer" -> "Open with 7-Zip plugin if installed" is NOT enabled.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Total7zip
Wow, I totally forgot that I had read about a new 7-Zip packer implementation in the changelog some time ago, thanks for pointing that out. It seems to work fine for files, yes, just not for folders (which is, judging from your description, a known issue).petermad wrote: 2025-05-03, 13:06 UTC 2Guillaume
Since TC 11.50 you can rename files inside .7z archives if the option "Configuration" -> "7-Zip packer" -> "Open with 7-Zip plugin if installed" is NOT enabled.
Re: Total7zip
No, I wasn't aware of that - but it seems to be the fact.just not for folders (which is, judging from your description, a known issue)
I have made a request about that missing feature: https://www.ghisler.ch/board/viewtopic.php?p=471038#p471038
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar