More options when unpacking by F3/F4 to temp folder file that already exist

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
SUKER
Junior Member
Junior Member
Posts: 88
Joined: 2003-08-25, 07:15 UTC

More options when unpacking by F3/F4 to temp folder file that already exist

Post by *SUKER »

More specifically - the option to rename and auto-rename the unpacked file.
In my work I frequently need to check logs from many different archives. All logs in archives have the same file name log.txt.
I enter archive, select file log.txt, press F3 and examine file...
Then I need to check another archive (and compare with previous) - enter it, select file log.txt, press F3 and see this:
Image: https://lh3.googleusercontent.com/pw/ADCreHdw24QfeOhFSKHINGAMLKGZbBdQD9nz6kDWM_oINLmBaAEHRVArdjS60TetN1IHAV-CHUJzL2jzfbMK5hDSgViu6YjN85tcekU_kObhBTh-sc3Z9nc4PYUnDkjqlH7D0nwXr_hTd-9EutG3QNIBeP4i=w453-h589-s-no?authuser=0

It wood be very helpful to be able rename/auto rename existing (unpacking) file here like in all others dialogs...
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: More options when unpacking by F3/F4 to temp folder file that already exist

Post by *petermad »

It is interesteing that if you use "Compare contents" (cm_CompareFilesByContent), the two files are opened in %TEMP%\_tc and %TEMP%\_tc_ - why doesn't TC just do the same for F3 and F4?
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
User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: More options when unpacking by F3/F4 to temp folder file that already exist

Post by *Dalai »

2petermad
Just a guess: When comparing files by content, TC already knows that it will need two directories when extracting two files subsequently. It doesn't know that when a Lister window is open and another files is about to be extracted. I've been annoyed by TC's overwrite dialog when pressing F3 or F4 more than a couple of times myself...

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: More options when unpacking by F3/F4 to temp folder file that already exist

Post by *petermad »

TC already knows that it will need two directories when extracting two files subsequently
Rather: TC already knows that it might need two directories - because it also uses two directories, when the files to compare has different names, either files in the same dir or in opposite dirs.
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
User avatar
SUKER
Junior Member
Junior Member
Posts: 88
Joined: 2003-08-25, 07:15 UTC

Re: More options when unpacking by F3/F4 to temp folder file that already exist

Post by *SUKER »

It is interesteing that if you use "Compare contents" (cm_CompareFilesByContent), the two files are opened in %TEMP%\_tc and %TEMP%\_tc_ - why doesn't TC just do the same for F3 and F4?
Ha, I think it's like a bug :) F4 will do such a thing, but F3 - not.
F4: 1 file go in _tc, 2 file go in _tc_, 3 file show dialog with overwrite options.
F3: 1 file go in _tc, 2 file show dialog with overwrite options.

But any way my suggestion is still valid - in case of opening more then 2 files.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: More options when unpacking by F3/F4 to temp folder file that already exist

Post by *petermad »

F4: 1 file go in _tc, 2 file go in _tc_, 3 file show dialog with overwrite options.
Yes, you are right - it is only F3 that don't use two temp directories!

But any way my suggestion is still valid - in case of opening more then 2 files.
TC could maybe do the same as it does when going into nested archives (archive in archive in archive etc.) - here TC uses directories like %TEMP%\_tc0, %TEMP%\_tc01 and %TEMP%\_tc2 etc.
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
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: More options when unpacking by F3/F4 to temp folder file that already exist

Post by *Usher »

I think that using more temp folders could be implemented long time ago, when tabs were introduced in TC.
That's why I suspect that there are some difficulties with implementation.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply