Changing timestamp of files should set archive attribute

Features wanted...
Post Reply
prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Changing timestamp of files should set archive attribute

Post by prino »

When changing the timestamp of files, the archive attribute bit should be set to make sure that those files are backed-up (again) so that file and backup have consistent timestamps.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Changing timestamp of files should set archive attribute

Post by admin »

Really? I thought the archive bit is a bit outdated (excuse the pun).

Horst
Posts: 1091
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Changing timestamp of files should set archive attribute

Post by Horst »

Its still used by some backup tools and possible user scripts.
So I think the poster is right, the archive bit should be set when changing time stamps.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Changing timestamp of files should set archive attribute

Post by admin »

Okay, it seems to make sense and no harm.

prino
Posts: 337
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Changing timestamp of files should set archive attribute

Post by prino »

I just found that changing the timestamp on a R-O file also resets the R-O attribute. Oops, that should not be happening!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
At last, a tiny bit of programming here... :mrgreen:

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Changing timestamp of files should set archive attribute

Post by admin »

Of course! A logic flaw when I added setting the archive attribute. Fix comes.

Post Reply