[Test in 7.5] TC unpacks also part of path using unrar.dll

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

[Test in 7.5] TC unpacks also part of path using unrar.dll

Post by *Hacker »

This is a bug reported to me by another user and I confirm it.

- make sure Use internal un-RAR is selected in the options
- get this file
- save / copy it to:

Code: Select all

c:\TC_v7.04a\czech-help-file-final-tc702a_proChristiana\back-up-full-czech-sources-TC_v7.02a\
- go into the archive down to the file TOTALCMD.RTF.txt
- try unpacking it anywhere using F5, make sure Unpack path names is checked
- the file is unpacked into

Code: Select all

mpilovana-napoveda\TOTALCMD.RTF.txt
instead of just the file being unpacked directly to the opposite panel

Remarks:
- this bug may be related to another bug - TC crashes when unpacking too long filename with unrar.dll
- this does not happen when using the external WinRAR as unpacker
- when you are inside the archive, at the level where TOTALCMD.RTF.txt is, and you switch focus away and back to TC, you hear a "ding"; I have Watchdirs=51 set
- when you are inside the archive, at the level where TOTALCMD.RTF.txt is, move the cursor to the [..] updir symbol and press Enter, the cursor is not placed on the "dekompilovana-napoveda" dir but again on [..] (one level higher of course)

Roman
Last edited by Hacker on 2008-08-14, 15:53 UTC, edited 2 times in total.
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.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Roman.

Unless I have missed it, you have not mentioned that the option Unpack path names if stored with files needs to be ticked (activated).
If it is and you press F5, then indeed in the opposite file panel the folder mpilovana-napoveda is created and the file TOTALCMD.RTF.txt is extracted to this folder.

If the option Unpack path names if stored with files is unticked, then the file TOTALCMD.RTF.txt will be extracted to the current folder in the opposite file panel.

Regards,
Karl
--
T.C.7.04a with the unrar.dll 3.80.1.87 shipped with T.C. 7.04a, WinXP Pro SP2.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

karlchen,
You are right, I added it to my description, thanks.

Roman
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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50475
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm sorry but it's the same reason: Your names are far too long. At the moment, TC supports a maximum of 259 characters, this includes both the name of the archive AND the path within the archive. This can only be resolved in TC 7.5 which will support names of up to 1023 characters. In the meantime, I can only recommend to put such archives in a short path, e.g. c:\down or so.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Christian,
Ok, thanks, I thought so.

Roman
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.
Post Reply