%-parameters give bad paths in archives after Ctrl+B

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

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

%-parameters give bad paths in archives after Ctrl+B

Post by *MVV »

Many %-parameters that return paths work in archives with %Z (%P%N, %T%M, %L etc). However when one presses Ctrl+B in archive subfolder, these parameters give wrong paths (subpath in archive is lost, also in path headers):

Normal panel:
P: D:\test.zip\Folder\
T: D:\
V: "D:\test.zip\Folder\long name.txt"
PN: "D:\test.zip\Folder\long name.txt"
L:
D:\test.zip\Folder\long name.txt
After Ctrl+B:
P: D:\test.zip
T: D:\
V: "D:\test.zip\long name.txt"
PN: "D:\test.zip\long name.txt"
L:
D:\test.zip\long name.txt
Test button:

Code: Select all

cmd.exe
%Z /c "echo P: %P & echo T: %T & echo V: %V & echo PN: %P%N & echo L: & type %L & pause"
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should be fixed in TC 9.20 beta 1, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Thank you, fixed! :D
Post Reply