Batch script needed for same file name but different file types
Posted on 2016-11-18
We have an internal process that creates an index file with a unique name ( 12345.idx) and places it into a general directory. At some point - either hours or days - another file - which is a PDF - will have the same name (12345.pdf) - and it will be moved into the general directory.
I'm looking of a dos Batch file script that when it finds a match of the same file name for both types (12345.idx , 12345pdf) - it will MOVE these files from the general directory and move them into another directory for processing.
Thank you in advance! ~k