I have searched the internet and have found nothing. I am trying to copy a file when there are duplicate numbers in each filename. For example in a folder there are many files, when there is blah_blah_7205678.doc and file blah_blah_7205678_blah.xls file I am trying to get the batch file to go through the folder and find the 7 digit matching numbers and store all the matching number files in a new folder. I am having trouble finding out how to copy the matching number in the filenames then copy both files to a folder. I have only found out how to copy filnames that are completely matching so this is a little different. Thanks in Advance!
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.