Hi
I’m setting up a package for Robocopy that copy files from C drive of a target machines into a network share.
This is the robocopy bat file i am using:
ROBOCOPY "C:" "\\servername\Test" /tee /e /eta /copy:dt /r:01 /w:01 /log+:"\\servername\Test\testLog.txt" /if *.doc *.xls *.ppt *.pdf *.msg *.pst *.jpg *.zip *.txt
t
-I Set up a package with this batch file
-Added a program to the package pointing to this batch file
general program properties are:
Run:Hidden
After running:No actionrequired
Environment:
Run with administrative rights
drive mode: Runs with UNC Nam
-Advertised it to a collection
But when after the advertisment i get the following error and nothing gets copies:
Script for Package:CHV02E94, Program: ITF Robocopy failed with exit code 16
Any advice