I need to search multiple servers and multiple directories on each server for files containing specific information in the title. I then need to copy the files that are found to a centralized location.
What I have now is a simple batch file but it isnt working the way I would like.
dir /s \\servername\shared\filename*.* dir /s \\servername\shared\*secondfilename*.* dir /s \\sername\user\*secondfilename*.* dir /s \\servername\user\filename*.* > c:\Central_Office.txt
Now I get the files locations in a text file but am not sure how to then script a copy or xcopy to use those text files.