The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I'm trying to find a script in a batchfile that will move log files from one folder to another.
My files are in the named format 20110801.txt, 20110802.txt etc
I want to only move files older than 12 months and I can't use datecreated as all the files were moved to a new server and have the same datecreated/modified stamp from the migration process.
I have to use the date stamp in the file name as my trigger.
Any ideas?
My files are in the named format 20110801.txt, 20110802.txt etc
I want to only move files older than 12 months and I can't use datecreated as all the files were moved to a new server and have the same datecreated/modified stamp from the migration process.
I have to use the date stamp in the file name as my trigger.
Any ideas?
