Newby Question
Posted: Wed Sep 22, 2004 3:34 am
Newby just starting out
I am trying to create a task which moves all files within a whole years filedate into a subdirectory of that year
i.e all 2003 files to be moved into a 2003 subdirectory.
I have managed to make most of the search and movement stuff work.
As it stands the task always creates the year subdirectory, even if there are no files to move.
What sort of IF statements should I use to check if any files exist within the daterange and then either quit or create the Directory and then carry on and move the files
Also I want the task to loop back to the start again, until such time as I have done all the moving I want todo
I am trying to create a task which moves all files within a whole years filedate into a subdirectory of that year
i.e all 2003 files to be moved into a 2003 subdirectory.
I have managed to make most of the search and movement stuff work.
As it stands the task always creates the year subdirectory, even if there are no files to move.
What sort of IF statements should I use to check if any files exist within the daterange and then either quit or create the Directory and then carry on and move the files
Also I want the task to loop back to the start again, until such time as I have done all the moving I want todo