Hi
1. When is a file older than 48 Hours ?
Answer - when NOW is more than 48 hours after the relevant date.
2. What is the relevant date ?
Answer - I do not know - but here are 3 possibilities I know of :-
a) Created (eg 12 February 2007)
Modified (eg 12 June 2008)
c) Accessed (eg 24 July 2008 - YES TODAY - DAMN STUPID WINDOWS)
The three date types appear with the DOS command DIR on nice computers.
Unfortunately with Windows XP there is no proper DOS, only a feeble imitation CMD prompt.
This also has a DIR command, but can no longer show all three dates simultaneously
you have to append option /T:A to see the date (Accessed)
(or append /A:C or /A:W for either of the other dates.)
Using Windows Explorer you can see all three dates simultaneously - if you are very quick,
Unfortunately you don't have to do much more than see a file's name listed for Windows to put access date = NOW
It was a sad day when I had to leave DOS behind and learn to live with Windows.
End of rant
On with life
So, three different sorts of dates. I do not know which is relevant, or if there is any other I am not aware of.
I suspect the relevant date is "Accessed" - this is the date used by "Disc Cleanup" when deciding which files are more than 30 days old and due to be compressed.
Regards
Alan