Now we need to process log files. The naming rule of the file name is as follows:
.log
Example)
D:\tabiplaza\yado\debug\20080522000200.log
Batch processing requirements:
1. Delete files that are six months ago.
2. Classify files that are five months ago. Put each file into the corresponding folder according to the month, and name the folder with the month.
For example: D:\tabiplaza\yado\debug\20080522000200.log -> folder: 200805
Since I am initially exposed to batch processing and basically at the entry-level state, I ask the moderator and all the experts to help come up with ideas! Thank you very much!
(In addition, I didn't find any results when searching, and it may also be that the search keywords are incorrect. I hope to get some guidance!)
[ Last edited by easonL on 2008-5-26 at 03:19 PM ]
.log
Example)
D:\tabiplaza\yado\debug\20080522000200.log
Batch processing requirements:
1. Delete files that are six months ago.
2. Classify files that are five months ago. Put each file into the corresponding folder according to the month, and name the folder with the month.
For example: D:\tabiplaza\yado\debug\20080522000200.log -> folder: 200805
Since I am initially exposed to batch processing and basically at the entry-level state, I ask the moderator and all the experts to help come up with ideas! Thank you very much!
(In addition, I didn't find any results when searching, and it may also be that the search keywords are incorrect. I hope to get some guidance!)
[ Last edited by easonL on 2008-5-26 at 03:19 PM ]

