I ran into a problem when the copy file command returned CF_RESULT=True which is a success according to the help (https://www.mjtnet.com/manuals/v15/HTML/copyfile.html), no file was copied. The CF_RESULT_CODE was equal to 183 (0xB7) which told me that the MAX_PATH was exceeded. I think this should be mentioned in the help.
I guess the same goes for move file and rename file, perhaps also the folder commands?
CopyFile documentation
Moderators: Dorian (MJT support), JRL
- Grovkillen
- Automation Wizard
- Posts: 1022
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
- Grovkillen
- Automation Wizard
- Posts: 1022
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
Re: CopyFile documentation
Perhaps add a switch to allow Win10 long path:
https://docs.microsoft.com/en-us/window ... ing-a-file
https://docs.microsoft.com/en-us/window ... limitation
https://docs.microsoft.com/en-us/window ... ing-a-file
https://docs.microsoft.com/en-us/window ... limitation
- Grovkillen
- Automation Wizard
- Posts: 1022
- Joined: Fri Aug 10, 2012 2:38 pm
- Location: Bräcke, Sweden
- Contact:
- Dorian (MJT support)
- Automation Wizard
- Posts: 1348
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: CopyFile documentation
Have passed this on.
Yes, we have a Custom Scripting Service. Message me or go here