Not sure how to do this.
I have an application that produces various files inside folders named by date. It also produces index files named by date in the root folder.
I want to have a scheduled task to run at the end of every month to move all of the folders to a different location, except the current day's items. OS is Win2K3.
Example:
C:\FOLDER contains 20090701.txt, 20090702.txt, 20090703.txt, etc...
C:\FOLDER\LOGS contains subdirectories named: 20090701, 20090702, 20090703, etc...
I want to MOVE all the files in C:\FOLDER and all the subdirectories in C:\FOLDER\LOGS to a different location, but not touch today's files.
Suggestions?
Thanks,
j
I have an application that produces various files inside folders named by date. It also produces index files named by date in the root folder.
I want to have a scheduled task to run at the end of every month to move all of the folders to a different location, except the current day's items. OS is Win2K3.
Example:
C:\FOLDER contains 20090701.txt, 20090702.txt, 20090703.txt, etc...
C:\FOLDER\LOGS contains subdirectories named: 20090701, 20090702, 20090703, etc...
I want to MOVE all the files in C:\FOLDER and all the subdirectories in C:\FOLDER\LOGS to a different location, but not touch today's files.
Suggestions?
Thanks,
j