Always check "Unpack each archive to sepearate subdir&q

Here you can propose new features, make suggestions etc.

Moderators: Stefan2, Hacker, petermad

Post Reply
Useless
Junior Member
Junior Member
Posts: 16
Joined: 2009-08-28, 08:21 UTC

Always check "Unpack each archive to sepearate subdir&q

Post by *Useless »

Hi, is there way how to achieve to have always checked "Unpack each archive to sepearate subdir" option in unpack dialog?

Please, could you implement this feature or provide manual, how this achive?

Thank you
Useless
Junior Member
Junior Member
Posts: 16
Joined: 2009-08-28, 08:21 UTC

Post by *Useless »

User avatar
MVV
Power Member
Power Member
Posts: 8753
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Useless,
Yes, there is a way, you should edit your wincmd.ini:

Code: Select all

[Packer]
UnZIPSeparateSubdirs=-2
ghisler,
This nice INI option isn't mentioned in help.
User avatar
KozakMak
Power Member
Power Member
Posts: 741
Joined: 2021-05-24, 12:39 UTC
Location: UA

memorable "unpack eath archive to a separate subdir"

Post by *KozakMak »

pls make "unpack eath archive to a separate subdir" memorable after TC restart
Last edited by white on 2022-05-14, 11:59 UTC, edited 3 times in total.
Reason: Restored original subject. (User wanted to start new suggestion and used this thread)
OS: Win11 | TC: latest x64
User avatar
Gral
Power Member
Power Member
Posts: 1785
Joined: 2005-01-26, 15:12 UTC

Re: memorable "unpack eath archive to a separate subdir"

Post by *Gral »

This option already exist.
Under [Packer] section
From TC help:
UnZIPSeparateSubdirs=-1 Saves the state of the option "Unpack each archive to separate subdir":
0: Option disabled, changes will be remembered
1: Option enabled, changes will be remembered
-1: Option disabled, changes will NOT be remembered (default)
-2: Option enabled, changes will NOT be remembered
-3: Like -2, but only when more than one archive is selected
User avatar
KozakMak
Power Member
Power Member
Posts: 741
Joined: 2021-05-24, 12:39 UTC
Location: UA

Re: memorable "unpack eath archive to a separate subdir"

Post by *KozakMak »

Jesus Christ!
OS: Win11 | TC: latest x64
User avatar
Hacker
Moderator
Moderator
Posts: 13158
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: memorable "unpack eath archive to a separate subdir"

Post by *Hacker »

Moderator message from: Hacker

Moved to the English forum.
Last edited by white on 2022-05-14, 12:07 UTC, edited 1 time in total.
Reason: fixed mod box
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
MartinK
Junior Member
Junior Member
Posts: 55
Joined: 2010-11-19, 20:21 UTC
Location: Brno, Czech Republic

add the variable UnpackToSubdir=1 to the [Packer] section of wincmd.ini

Post by *MartinK »

Dear Mr. Ghisler,

Please add the variable UnpackToSubdir=1 to the [Packer] section of wincmd.ini.

After executing the cm_UnpackFiles command (Alt+F6), a window with checkboxes appears:

Unpack path names if stored with files
Overwrite existing files
Unpack each archive to a separate subdir (name of the archive)

The first two correspond to the following in wincmd.ini:
[Packer]
ExtractPathInZIP=1
UnZIPOverwrite=0
but for the third option, the setting is not saved anywhere.

Several times a day, I unpack several archives to a RamDisk and repack them after making changes. I have to keep setting the third variable.

Thank you very much.
User avatar
white
Power Member
Power Member
Posts: 6940
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Always check "Unpack each archive to sepearate subdir&q

Post by *white »

Moderator message from: white » 2026-05-26, 12:21 UTC

Topics merged with this topic:
» memorable "unpack eath archive to a separate subdir"
» add the variable UnpackToSubdir=1 to the [Packer] section of wincmd.ini
User avatar
white
Power Member
Power Member
Posts: 6940
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Always check "Unpack each archive to sepearate subdir&q

Post by *white »

Suggestion:
Add a reference to UnZIPSeparateSubdirs to the help page "Dialog box: Unpack".
Post Reply