TC doesn't preserve the creation date when users extract files from 7z archive

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Re: TC doesn't preserve the creation date when users extract files from 7z archive

Post by *tuska »

2misvin
Sorry, I am out of ideas, but I am not an expert...

Regards,
Karl
User avatar
tuska
Power Member
Power Member
Posts: 3733
Joined: 2007-05-21, 12:17 UTC

Re: TC doesn't preserve the creation date when users extract files from 7z archive

Post by *tuska »

2misvin
You could do another test with a TC_clean.ini.
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC doesn't preserve the creation date when users extract files from 7z archive

Post by *petermad »

Horst.Epp wrote: 2019-06-27, 17:59 UTC If time stamps are stored in a 7zip archive they will be restored with TCs native 7z DLLs and also using the Tota7zip plugin.
So I can't confirm the thread starters behaviour, at least in a normal environment.
Hmm, If I pack a -tz file with tc=on and ta=on and then unpack it from TC (open archive -> F5), and I use a fresh wincmd.ini file (hence internal 7zip unpacker is used), then the files are unpacked with creationdate and accesdate modified to current date.

If I unpack the files with my daily TC wincmd.ini file (hence .tz is associated with the Total7zip plugin), then the creationdate and accessdate are preserved. So I cannot confirm Horst.Epp's observation.

Notice - I do not have 7zip installed as a program in my Windows (I only have the 7zip program files in a subfolder to my total7zip plugin folder).
Maybe this makes a difference - could TC's intenal TC7Z64.DLL maybe be using features from 7zip if installed as a program?
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
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC doesn't preserve the creation date when users extract files from 7z archive

Post by *Horst.Epp »

petermad wrote: 2019-06-30, 18:26 UTC
Horst.Epp wrote: 2019-06-27, 17:59 UTC If time stamps are stored in a 7zip archive they will be restored with TCs native 7z DLLs and also using the Tota7zip plugin.
So I can't confirm the thread starters behaviour, at least in a normal environment.
Hmm, If I pack a -tz file with tc=on and ta=on and then unpack it from TC (open archive -> F5), and I use a fresh wincmd.ini file (hence internal 7zip unpacker is used), then the files are unpacked with creationdate and accesdate modified to current date.

If I unpack the files with my daily TC wincmd.ini file (hence .tz is associated with the Total7zip plugin), then the creationdate and accessdate are preserved. So I cannot confirm Horst.Epp's observation.

Notice - I do not have 7zip installed as a program in my Windows (I only have the 7zip program files in a subfolder to my total7zip plugin folder).
Maybe this makes a difference - could TC's intenal TC7Z64.DLL maybe be using features from 7zip if installed as a program?
You are right, i tested again with a fresh Ini file, previously I only had disabled the Total7zip plugin.
The creation date is only restored with the plugin.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC doesn't preserve the creation date when users extract files from 7z archive

Post by *petermad »

I only had disabled the Total7zip plugin
How? - With Plugins Manager (by Alexey Torgashin)? - Did you remember to restart TC after disabeling total7zip? Did you also remember to disable the 7zip plugin (by Adam Strzelecki), in case you have it installed? (7zip plugin also preserves creationdate and accessdate).
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
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC doesn't preserve the creation date when users extract files from 7z archive

Post by *Horst.Epp »

petermad wrote: 2019-07-01, 02:12 UTC
I only had disabled the Total7zip plugin
How? - With Plugins Manager (by Alexey Torgashin)? - Did you remember to restart TC after disabeling total7zip? Did you also remember to disable the 7zip plugin (by Adam Strzelecki), in case you have it installed? (7zip plugin also preserves creationdate and accessdate).
Yes, with Plugins Manager.
I restart TC after changes made with Plugins Manager.
No other 7z plugin installed.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14700
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC doesn't preserve the creation date when users extract files from 7z archive

Post by *petermad »

I tried with Plugins Manager too - but I get the same results as when I use a clean ini file. I used the Restart button in Plugins Manager to restart TC.
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
anmac1789
Junior Member
Junior Member
Posts: 36
Joined: 2020-11-30, 01:33 UTC

Re: TC doesn't preserve the creation date when users extract files from 7z archive

Post by *anmac1789 »

How can I zip or make an archive of android folders and extract them to pc while preserving the date created, date modified and date accessed in windows 10 enterprise and/or win 11 pro ??
Post Reply