Create a vbscript that will copy files which include wildcards
Posted on 2014-11-05
I need a vbscript that will copy files which include wildcards..
1. Check certain files e.g Y01A*.*, GPL.MT940*.*, GPL.CRCSV*.* exist in a file location \\cslwinapp08\bacs, check that three files exist if not, write a log stating 'files don't exist', report a log to state which files are missing.
2. if these three files exist in \\cslwinapp08\bacs copy these files to \\cslwinapp10\bacs
3. Check that these files have been copied to \\cslwinapp10\bacs and write a log to confirm 'files copied'