Let's use tcmd922ax32_64.exe as an example.
This file could be treated as an arvhive with another enclosed archive INSTALL.CAB.
Enter into the installer using Ctrl+PgDn, select INSTALL.CAB and press F5, then type dot in path of the Unpack files dialog.
That should unpack the selected file into the current directory (where tcmd922ax32_64.exe is).
But if dot was typed for files inside INSTALL.CAB, then these files would be unpacked to the TC's temporary directory.
Could it be possible to substitute dot with the current directory instead of the temporary?
Unpack from nested archive to the current directory
Moderators: white, Hacker, petermad, Stefan2
Unpack from nested archive to the current directory
Last edited by browny on 2019-12-20, 21:13 UTC, edited 1 time in total.
Re: Unpack from enclosed archive to the current directory
Keep in mind, browny, that dot (".") represents the current directory, as you say, but, in the example you give, the current directory is the insides of the packed exe itself.
What you're really after is the 'parent' of the exe's contents, which is the directory 'above' those contents, i.e. the directory in which the exe file (not its contents) lies.
By your saying that you want the files in the 'current directory', where they already are, you've discombobulated the unpacker and it's put the extractions in the only place it can resolve your contradiction - ...\Temp\.
Tested "..", and it works.
Voilà!
What you're really after is the 'parent' of the exe's contents, which is the directory 'above' those contents, i.e. the directory in which the exe file (not its contents) lies.
By your saying that you want the files in the 'current directory', where they already are, you've discombobulated the unpacker and it's put the extractions in the only place it can resolve your contradiction - ...\Temp\.
Tested "..", and it works.
Voilà!
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Re: Unpack from enclosed archive to the current directory
Strictly speaking, the current directory is set with SetCurrentDirectory() Windows API call. There is no current directory inside the archive that could be set this way.
TC mostly keeps track of its current directory. If you go inside nested archives, and then trace back your steps with Ctrl+PgUp, usually you will not end up in temporary directory, but will be returned where the original archive file was (usually - because there were bugs).
Unpacker does what TC orders it to do. The idea was in the last phrase - to replace the directory where temporary archives are with the directory of the original archive.
Not really; file was still in the temporary directory.
Re: Unpack from nested archive to the current directory
That is what I experience too.Not really; file was still in the temporary directory.
2Phred
browny is inside the INSTALL.CAB, when he press F5...
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.50b4 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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Unpack from nested archive to the current directory
Thank you for the technical detail, petermad, and, yes, I see now that browny was inside INSTALL.CAB. Another level deep (just like Inception, dreaming a dream inside a dream ..six levels, I believe; loosely based on The Thirteenth Floor, largely based on Daniel F Galouye's Counterfeit World).
Nevertheless, I think the principle in my description remains: be rightly cognizant of 'current', something that could be solved easily by a simple extraction. There's only so much we should wish for. If not, how many levels deep? Even Mal didn't know whether or not she was living in the 'top reality'.
My test did work, such, though, where it was.
Nevertheless, I think the principle in my description remains: be rightly cognizant of 'current', something that could be solved easily by a simple extraction. There's only so much we should wish for. If not, how many levels deep? Even Mal didn't know whether or not she was living in the 'top reality'.
My test did work, such, though, where it was.
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
Re: Unpack from nested archive to the current directory
Using one dot, or just a blank field also works in the first level of the archive.My test did work, such, though, where it was.
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.50b4 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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar