date changing of existing file when rename copied file

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

Moderators: white, Hacker, petermad, Stefan2

User avatar
white
Power Member
Power Member
Posts: 4619
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: date changing of existing file when rename copied file

Post by *white »

Moderator message from: white » 2022-08-27, 06:46 UTC

Moved to Fixed bugs.
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: date changing of existing file when rename copied file

Post by *nice »

Not fixed.
When overwriting "Plugins\wcx\Total7zip\7z.dll", locked by loaded plugin.
File is not overwritten, but date has changed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: date changing of existing file when rename copied file

Post by *ghisler(Author) »

Did you follow the steps I used in my last post of this thread?
Author of Total Commander
https://www.ghisler.com
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: date changing of existing file when rename copied file

Post by *nice »

Sorry, the new instruction:
1. Install Total7zip plugin
2. Download two different versions of 7zip file with your Web browser, e.g.
https://deac-ams.dl.sourceforge.net/project/sevenzip/7-Zip/22.01/7z2201.exe
https://deac-fra.dl.sourceforge.net/project/sevenzip/7-Zip/21.07/7z2107.exe
3. Check with Files - "Calculate occupied space" that it has a zone identifier
4. Open the first 7zip with enter Ctrl+PgDn and extract two files - 7z.dll and 7z.exe with F5
5. Open the second 7zip and extract the SAME files with F5, and for the first, click "skip", and for the second, click "overwrite"
6. Check that first file was not overwritten, but has new date.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: date changing of existing file when rename copied file

Post by *Horst.Epp »

Not confirmed following the new instructions.
The files have Zone identifiers.
7z.dll still has the date from the first archive.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: date changing of existing file when rename copied file

Post by *ghisler(Author) »

Where did you install the plugin? Was it under c:\totalcmd or c:\Program Files\totalcmd, or anywhere else?
Author of Total Commander
https://www.ghisler.com
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: date changing of existing file when rename copied file

Post by *nice »

User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: date changing of existing file when rename copied file

Post by *Horst.Epp »

ghisler(Author) wrote: 2023-05-02, 15:53 UTC Where did you install the plugin? Was it under c:\totalcmd or c:\Program Files\totalcmd, or anywhere else?
C:\Tools\Wincmd\PLUGINS\Total7zip\
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: date changing of existing file when rename copied file

Post by *petermad »

nice wrote: 2023-05-02, 17:54 UTC fresh install
https://www.youtube.com/watch?v=YYwa4z8Y750
Here is what I get, when I do what you show in your video: https://tcmd.madsenworld.dk/unpack7z.mp4

So no date change of 7z.dll when I choose to skip it.

Here with a clean wincmd.ini: https://tcmd.madsenworld.dk/unpack7zclean.mp4
Here with a clean wincmd.ini and 32bit TC: https://tcmd.madsenworld.dk/unpack7zclean32.mp4

The videos doesn't show it, but both files has zone identifier 3

2nice - Are you sure you are using TC's internal zip unpacker to extract the files? https://tcmd.madsenworld.dk/internalzipunpacker.png
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
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: date changing of existing file when rename copied file

Post by *nice »

petermad wrote: 2023-05-02, 23:21 UTC Are you sure you are using TC's internal zip unpacker to extract the files?
of course not.
i don't know, could zip unpack 7z or not, but in the instruction stated that this is with Total7zip plugin.
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: date changing of existing file when rename copied file

Post by *petermad »

2nice
You are right - the two exe-files are packed with 7zip, so it should usually be TC's internal 7zip-unpacker that should do the unpacking.

Make sure you have the files TC7Z.DLL and TC7ZIPIF.DLL (32bit TC) or the file TC7Z64.DLL (64bit TC) in your TC program directory.

Also please try with a clean ini file (start TC with the parameter /i=%TEMP%\clean.ini)
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
nice
Junior Member
Junior Member
Posts: 84
Joined: 2018-03-12, 23:58 UTC

Re: date changing of existing file when rename copied file

Post by *nice »

I'm using Total7zip plugin, and you talking about internal TC7z.DLL and clean ini file (without Total7zip plugin).

Problem is not fixed.
Problem is not in Total7zip , but in TC with Total7zip plugin.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: date changing of existing file when rename copied file

Post by *ghisler(Author) »

If the problem is in Total7zip, you will have to contact the author of Total7zip.
I wrote:
So the problem must be in Total7zip - TC itself doesn't set the file timestamp when unpacking with a plugin.
Author of Total Commander
https://www.ghisler.com
Post Reply