What attribute does Robocopy look at when applying the MINAGE and MAXAGE flags? Date created or updated? If a group of files is created and later one of them is updated, if I run Robocopy with a later date range will the updated file be copied?
Asked
Active
Viewed 1.7k times
3
-
have you considered changing which answer is accepted, given the currently accepted answer is incorrect? – sparrowt Jan 14 '19 at 10:26
2 Answers
8
There is confusion here and elsewhere, I believe the following is correct:
minage
andmaxage
actually refer to the last modified date of the file (not creation date)minlad
andmaxlad
actually refer to the last access date of the file.
Sources for the above:
I tested
minage
with robocopy on Windows 7, and it used last modified date, not creation date. Also backed up by this Technet thread and this thread too.The robocopy documentation says that
minlad
&maxlad
are the access date.

sparrowt
- 257
- 2
- 7
-
1This is the correct answer. `minage` and `maxage` refer to the Modified Date of the file. – Doug S Feb 12 '15 at 22:46
1
According to this Technet thread:
minage
and maxage
refer to the creation date of the file.
minlad
and maxlad
refer to the last write time of the file.

HopelessN00b
- 53,795
- 33
- 135
- 209
-
3This answer is incorrect, and the Technet thread it links to is incorrect. `minage` and `maxage` refer to the Modified Date of the file, as also shown by the answer from @sparrowt – Doug S Feb 12 '15 at 22:45