shawn.pederson Posted July 2, 2014 Report post Posted July 2, 2014 Looking for some advice on getting a Robocopy run command to run properly from a custom task sequence. Just deploying Java and would like to dump the Configuration files into the Windows directory as per the vendors documentation. However, I continue to get this error: The task sequence execution engine failed executing the action (Deployment Configuration) in the group () with the error code 16 Action output: . The operating system reported error 16: The directory cannot be removed. Has anyone had luck doing it this way, I am trying to stay away from .BAT file as I feel using the run command is cleaner. Thanks. Quote Share this post Link to post Share on other sites More sharing options...
shawn.pederson Posted July 2, 2014 Report post Posted July 2, 2014 I am assuming it has something to do with where that run command is running from... Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted July 2, 2014 Report post Posted July 2, 2014 I think it can't find the ."\Configuration Files". Easiest way arround this would be to use an old-school batch file and replace .\ with %~dpo Quote Share this post Link to post Share on other sites More sharing options...
brifin5 Posted July 18, 2014 Report post Posted July 18, 2014 Well, you can use Long Path Tool as well, it works perfectly.... Quote Share this post Link to post Share on other sites More sharing options...