tranchemontaigne
Registered User.
- Local time
- Yesterday, 17:32
- Joined
- Aug 12, 2008
- Messages
- 203
BACKGROUND:
I have an external batch file that is called by MS Access. This backup file makes a copy of the calling MS Access file every time the database is opened.
GOAL:
What I want to do is now modify the batch file to delete old backups.
NAMING CONVENTION:
All bacup files are uncompressed and follow the naming convention below
YYYY-MM-DD_databaseName.mdb.bak
Any thoughts on how to delete all files where the YYYY-MM-DD is more than 7 days old?
________
F50
I have an external batch file that is called by MS Access. This backup file makes a copy of the calling MS Access file every time the database is opened.
GOAL:
What I want to do is now modify the batch file to delete old backups.
NAMING CONVENTION:
All bacup files are uncompressed and follow the naming convention below
YYYY-MM-DD_databaseName.mdb.bak
Any thoughts on how to delete all files where the YYYY-MM-DD is more than 7 days old?
________
F50
Last edited: