jessiejane
Programmer
I have an archive folder with the files in it.
The files are in the format of NJDAT120909.txt format. i.e. NJDAT+Date.txt
The archive folder has many files. The file is not placed during weekends. Only weekdays the file is placed in the archive folder
For example:
---Nov 1st, sunday the file is not there
NJDAT110209.txt
NJDAT110309.txt
NJDAT110409.txt
NJDAT110509.txt
NJDAT110609.txt ----Nov 7,8 files are not there, sat, sun
NJDAT110909.txt
NJDAt111009.txt
...
...
NJDAT120909.txt
How would I delete the first 15 files from the current date.
After deleting, the folder must have remaining files in it.
The files are in the format of NJDAT120909.txt format. i.e. NJDAT+Date.txt
The archive folder has many files. The file is not placed during weekends. Only weekdays the file is placed in the archive folder
For example:
---Nov 1st, sunday the file is not there
NJDAT110209.txt
NJDAT110309.txt
NJDAT110409.txt
NJDAT110509.txt
NJDAT110609.txt ----Nov 7,8 files are not there, sat, sun
NJDAT110909.txt
NJDAt111009.txt
...
...
NJDAT120909.txt
How would I delete the first 15 files from the current date.
After deleting, the folder must have remaining files in it.