We have the following situations:
We are scanning documents on a large Scanner to a certain folder(s), example …\share\
Below the main folders, the system generates automatically subfolders based on date and a running number, examples:
Then the next day, it looks like this:
Within these folders, we have .tif documents.
Every night, we need to move these files from the subfolders to a folder called for example: “transfer”
All the files in the subfolders need to be renamed with a running number, i.e. 0001, 0002, 0003, 0004 etc. The actual names are not important, only that a file that already exists will not be overwritten.
So here comes the question:
How can we create a script where we can search for within subfolders for .tif files and move them? After we have moved them, we need to delete the folders.
I have been searching for fso recursive but so far, I have been out of luck....