Winrar buttons on command bar

English support forum

Moderators: Hacker, petermad, Stefan2, white

HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

One last question how to give an absolute path for extraction target? In other words in extraction dialog I always want to see e:\1 RECORDED MP3\ as the target path, is it possible?

By the way ZoSTeR's code below worked fine (nsp's code brings "file not found" error).

Code: Select all

TOTALCMD#BAR#DATA 
%COMMANDER_PATH%\Packer\RAR\WinRAR.exe 
x %P%N "?%T" 
%COMMANDER_PATH%\WCMICONS.DLL,31 
Extract RAR (Target) 
%COMMANDER_PATH%\Packer\RAR 

-1
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1049
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

HAL 9000 wrote:in extraction dialog I always want to see e:\1 RECORDED MP3\ as the target path, is it possible?

Code: Select all

x %P%N "?e:\1 RECORDED MP3"
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

Worked fine, thanks everybody for helping me.
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

HAL 9000 wrote:But this button extracts files only to the other panel's destination. With winrar "extract files.." command I would be able to extract to path I wanted without changing the other panel.
If you don't want to use Universal Extractor use 509 (TC cm_command) and - until mr. Ghisler will make the checkbox or ini setting (I hope soon) - delete path and put a check into checkbox with option "unpack every archive to a separate subdir".

This setting is useful also for packing into the same dir.


Best wishes,
Eugen
My Best Wishes,

Eugen
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

I found important problem with all buttons in the thread the button doesn't work for multiple zip archives correctly. Only one of the zip can be extracted. Though with winrar's context menu all zips extracted successfully. How to fix this problem?
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Bug In Button

Post by *HAL 9000 »

If you try to extract two zip files (marking them with red) then use the button only one zip extracted. How to resolve this problem? (With multiple rar archives no problem)

Code: Select all

TOTALCMD#BAR#DATA 
%COMMANDER_PATH%\Packer\RAR\WinRAR.exe 
x %P%N "?%T" 
%COMMANDER_PATH%\WCMICONS.DLL,31 
Extract RAR (Target) 
%COMMANDER_PATH%\Packer\RAR 

-1
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

All I get with that button is a file not found error no matter how many files I have tagged.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

You should specify your own winrar path.

Code: Select all

%COMMANDER_PATH%\Packer\RAR\WinRAR.exe
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Yes, I caught that after I posted. I can only unpack one file whether it is a ZIP or a RAR. It picks the last one that is tagged.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

I just retested multi rar extraction works fine only zips have problem.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

I couldn't get multiple tagged rar files to work. Only the last one. Are you sure what you posted is the exact code you are using?
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

I just copy and paste the code below and re-test, rars works fine. I have winrar 3.90b3. By the way are you selecting all archives? (marking with red)
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Yes, I am tagging them and it still only grabs the last one. I must have the default settings for WinRAR different from you.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

Can you extract them via context menu? (right click on tc)
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

They extract fine. But just one at a time. Not all that are tagged.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
Post Reply