I'm trying to find the reference for it...but I am fairly certain I ran into the same issues with other functions and it was related to the slash/syntax/direction.
Thanks Josh. Keep in mind that the syntax as shown in my original post works in windows 10. I did trial and error a few varieties of slash-directions, but decided to reach out to the community before going to far down that road.
Yup. I got that. Just a little surprised it worked. If you don't get an answer by the time I get home to my Windows machines, I'll test it out. I may still have a sample file laying around.
Slash and backslash both worked.
Did you confirm the path exists? Desktop folder is differ on log on user. When you don't logged in as "JAS", the command wouldn't work.
Did you ever get your answer to this?
I have run into this error recently, and it was because the "to" file already existed.
I got error 50 when "from" file is not exist, and error 80 when "to" file exist on Windows7.
The document says 17 for file exist, BE_CopyFile – BaseElements Plugin Help Centre
and it is same as EEXIST in MS document https://msdn.microsoft.com/en-us/library/t3ayayh1.aspx
I use Get(UUID) for temp file name to avoid duplicate.
An easy way to copy and rename a file without using a plug in:
Import the file into a container field
Export the file from the container field--and specify both the location and file name for the exported copy as part of the export field contents step.