Compare Directories function with WinRAR file

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
waifile
Junior Member
Junior Member
Posts: 10
Joined: 2016-11-11, 08:29 UTC

Compare Directories function with WinRAR file

Post by *waifile »

Regarding the Compare Directories function with WinRAR with files unextracted, anytime an old file is replaced with a new copy, it will still show that the new file is the new one even though it is already copied over to replace the old one.

For instance, if "new.exe" is copied over to replace the old "new.exe" file, the one that is copied over will still show up as the new file.
But when a file is extracted and compared to the replaced file within a .RAR file, then it doesn't show up as the new file.

It doesn't happen to all files within a .RAR file, only some of them.

Thank you.
waifile
Junior Member
Junior Member
Posts: 10
Joined: 2016-11-11, 08:29 UTC

Re: Compare Directories function with WinRAR file

Post by *waifile »

I checked and it is a timestamp problem.
For example, I made the Mscomctl.ocx file compressed into a Mscomctl.rar, and the file has a different timestamp. THe original has a time of 03/08/04 23:00, and the one in the .RAR file is 03/08/04 22:00.

---

Please download this file to test:

Internet Explorer 7 for Windows XP (32bit)
http://www.filepuma.com/download/internet_explorer_for_windows_xp_32bit_7-1884/

If you extract the files, and then put them into a .RAR file, then when comparing the files, there will be a file that shows up as new:
ieapfltr.dat
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is a known problem:
viewtopic.php?t=47351
Author of Total Commander
https://www.ghisler.com
Post Reply