G
Guest
Hello
I would like to know how can I cycle through all the files in a directory and delete those files that are more than 1 week old
I've created a macro that will copy files into a directory ("C:\backup") and will label the file appropriate with the date in the name ("Backup-26Mar2004"). I would like to have a macro that will delete any such files that the date label is older than seven days but no delete any other potential files that may be in the directory
Thank you
Daniel
I would like to know how can I cycle through all the files in a directory and delete those files that are more than 1 week old
I've created a macro that will copy files into a directory ("C:\backup") and will label the file appropriate with the date in the name ("Backup-26Mar2004"). I would like to have a macro that will delete any such files that the date label is older than seven days but no delete any other potential files that may be in the directory
Thank you
Daniel