Hi all, I'm trying to run robocopy on a transition action in PDM Pro.
I want to copy a file that is going through the transition to a folder outside the vault.
I've read on the forums here and other forums, about enclosing the path, and the parameters in double quotes etc, but not having much luck so far. Here is a pic of what I'm trying to accomplish, any help is greatly appreciated
Kind regards
Prasad Bhonsule
Don't use robocopy for single files, it's meant for directories. The syntax for robocopy is
robocopy sourcedir destdir filename so you'd need something like this
But that doesn't work since Folderpath is something like \Test\ instead of C:\Vault\Test. You can validate in ProcessMonitor:
So if you change the command to xcopy "sourcefilepath" "destfilepath" /Y then it should work great. (Don't put the filename in the dest or it will prompt you to verify if the name is a file or directory, /Y overwrites without prompt)