unpacking archives to their respective folder

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
prorokrak
Junior Member
Junior Member
Posts: 9
Joined: 2011-04-17, 10:58 UTC

unpacking archives to their respective folder

Post by *prorokrak »

How can I unpack archives shown in branch view to their respective folders?

Let's say I have this folder/archive structure:

Code: Select all

Main folder\Subfolder1\SubfolderA\archive_name.zip
Main folder\Subfolder2\another_archive.zip
Main folder Subfolder3\SubfolderB\third_archive.zip
Now I go to Main folder and show all files in branch view.
How can I unpack all archives at once so that files are in their original folders? Like this:

Code: Select all

Main folder\Subfolder1\SubfolderA\files and folders from archive_name.zip
Main folder\Subfolder2\files and folders from another_archive.zip
Main folder Subfolder3\SubfolderB\files and folders from third_archive.zip
Help file reads:

Dialog box: Unpack
Unpack n file(s) to: Enter the target path where you want to place the selected files. As a default, the path of the target directory is given. However, you can enter any valid path name. If you leave this field empty, the files will be unpacked to the directory of the archive.

However, in this example, when I leave Unpack n file(s) to: field empty, all files and folders are unpacked to Main folder, not "to the directory of the archive."
User avatar
Valentino
Power Member
Power Member
Posts: 709
Joined: 2003-02-07, 00:21 UTC
Location: Ukraine

Post by *Valentino »

I'd call this a defect.
User avatar
nsp
Power Member
Power Member
Posts: 1956
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

Valentino wrote:I'd call this a defect.
or a small misunderstanding, or help not really well written... empty means generally current folder.

If you want a quick solution, you can use TCBL and 7zip command line...

Code: Select all

command:%commander_path%tools\tcbl\tcbl.exe
parameters:  -q %L "%commander_path%tools\7za.exe" x "$"f "$x\"
$f file name with path
$x $f without latest extension
prorokrak
Junior Member
Junior Member
Posts: 9
Joined: 2011-04-17, 10:58 UTC

Post by *prorokrak »

nsp wrote:If you want a quick solution, you can use TCBL and 7zip command line...
Thank you very much for this tip. I'm not familiar with the TCBL tool, and I think now I'm not interested in installing and setting something new.
I hoped that there would be some out-of-box solution in TC.

I would really prefer if TC would work as described in the help file, because if you need to unpack different archives to the current folder, it's very easy to do - just open it in opposite panel.

But there is no (easy TC) way how to unpack the archives to their respective folders.

Still, thank you, nsp, for suggesting a solution. Maybe, once I'll give it a try.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

The way TC handles Archives is why I have a license for WinRar.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I simply have free 7-Zip installed:D
Post Reply