Is it possible to get the path to the currently opened archive being inside an archive?
It looks like "reverse" %Z parameter, i.e. for current source path "Disk:\path\to\archive.zip\some\sub\dir\*.*" get the path "Disk:\path\to\"
Using %P, i get "This function cannot be used with packed files".
Button bar: path to currently opened archive
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48118
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Button bar: path to currently opened archive
No, currently not. I want to prevent users from invoking a command with a wrong directory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Button bar: path to currently opened archive
I thought this is not wrong directory, but just a path to archive itself...
Anyway, thank you for answer.
Anyway, thank you for answer.
Re: Button bar: path to currently opened archive
2sergio12
What is it you want to do with the path? - maybe there are a solution to your problem nonetheless.
What is it you want to do with the path? - maybe there are a solution to your problem nonetheless.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Button bar: path to currently opened archive
petermad,
I need to run external program with TC's source path as a parameter, regardless of open archives in the panels.
Yes, it is possible to do that using something like "cm_FocusTrg,cm_OpenDesktop,em_Prog,cm_GotoPreviousDir,cm_FocusTrg" or even external script.
But this is not good-looking solution, I think.
I need to run external program with TC's source path as a parameter, regardless of open archives in the panels.
Yes, it is possible to do that using something like "cm_FocusTrg,cm_OpenDesktop,em_Prog,cm_GotoPreviousDir,cm_FocusTrg" or even external script.
But this is not good-looking solution, I think.