Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
delete files 'saved' 30 days ago
Name: Paula Date: December 2, 2005 at 01:50:17 Pacific OS: windows2000 CPU/Ram: PIII 512MB
Comment:
is it possible to track file save date? the date when file was saved in a folder and subfolder. I want to delete files saved older than 30 days, refer file save date, not modification date.
Name: StuartS Date: December 2, 2005 at 02:30:10 Pacific
Reply:
Whats the difference between file save date and file modification date? You can't modify a file without saving it, so in effect, whatever it is called, they are both the same.
If you want to know the date a file was put into a particular folder without being modified, then you need to be looking at the file creation date. In those circumstances, the file creation date will be later than the last modified date. Something that gets a lot of people confused.
Summary: I have share on a server in which i have files being saved to. I need to purge this folder every so often of files that are no older then 2 days. I have found a batch file to do this. How ever on the ...
Summary: Relates to an ealier post with title: Batch File deleting files by date? HAD TO CHANGE FOLLOWING TO GET WORKING 1. In Line: for /f "tokens=2" %%i in ('date /t') do set thedate=%%i Change tokens=2 to t...
Summary: Greetings All! The following MS-DOS code will delete any specified files, in specified location, and older then a specified date. "Delete files by older-then-date". Quick pseudo example: Delete *.t...