I have moved the test to my C Drive to make the testing a little easier.
I have source folders
C:\IS_Test\AA
C:\IS_Test\BB
C:\IS_Test\CC
(In reality there is about 10 of these service folders and users can create more)
Each of these folders has some example files in. E.g. 1111_AA_Example.xlsx, 1112_AA_Example.xls, 1113_AA_1113.pptx
I then have destination Folders that correspond to the firs 4 digits of the file name
C:\IS_Test\Hotfolders\Download\1111
C:\IS_Test\Hotfolders\Download\1112
C:\IS_Test\Hotfolders\Download\1113
(In reality there are about 400 of these folders and they can be added to or even deleted as required (This shouldn’t happen to often)
So go to the first sourcefolder
Look at the first 4 digits of the file name
If its = 1111 then move to folder 1111
If its 1112 then move to folder 1112 etc
Repeat until all the files have been moved
Then go back to the start and move to the next source folder.
I haven’t found any guides on how to even get started on this. Its always moving from one folder to one folder. If any one knows about any clear how to guides on this, I would be very grateful,
Debbie