A scripting batch file
Posted on 2014-11-09
A script batch file that will do the following (DOS, vbscript or Powershell) which is the preference ?
1. There will be three files which will be coming on and daily basis to \\dcawin102\processedfiles but will be different. These files are:-
1. These files have a datestamp, so therefore the files will need wild cards so the complete files can be copied to \\dcawin101\overnightfiles, however we need to first make sure all three files exist in \\dcawin102\processedfiles before they can get copied to \\dcawin101\overnightfiles, if they do not exist report to a log file stating the files do not exist and showing which files don't exist
2. Report to a log file stating that the required files are copied to \\dcawin101\overnightfiles if files are not copied report to a log file files not copied and show if files are not copied