Hello, not sure if I'm at the right place but I'll give it a go:
I receive files in a certain folder structure. In there are several folders with files. Regardless of the folders, I would like to automatically move the files based on extension to target folders.
So for example:
First new folder ABC is created. After that, from the folders/files that I received it should do following steps:
*.sql is copied to ABC\sql
*.fmb is copied to ABC\forms
*.rpt is copied to ABC\reports
Next to that, all files with extension .sql are placed in a text file in folder ABC\sql, where the file names are listed below each-other.
Is there any way to accomplish this in some kind of Windows script?