Hello All,
I am trying to move some files from local C to my shared network drives.
I got CF_RESULT=True and CF_RESULT_CODE=183 WITH MOVEFILE command
But I successfully moved files locally (within C drive)
Please help
Thanks
MoveFile to shared drives
Moderators: Dorian (MJT support), JRL
Re: MoveFile to shared drives
Just found the solution in this forum.
- Dorian (MJT support)
- Automation Wizard
- Posts: 1378
- Joined: Sun Nov 03, 2002 3:19 am
- Contact:
Re: MoveFile to shared drives
Please share it to help others.
Yes, we have a Custom Scripting Service. Message me or go here
Re: MoveFile to shared drives
the command MoveFile>file_path,destination
let>file_path=C:\folder_names\file_to_move.txt
let>destination=Y:\destination_folder\file_moved.txt (Y is the shared drive in the network)
I got CF_RESULT_CODE=183
So I changed the destination=\\server_name\name_of_shared_drive(Y)\destination_folder\file_moved.txt
Then the issue is fixed
let>file_path=C:\folder_names\file_to_move.txt
let>destination=Y:\destination_folder\file_moved.txt (Y is the shared drive in the network)
I got CF_RESULT_CODE=183
So I changed the destination=\\server_name\name_of_shared_drive(Y)\destination_folder\file_moved.txt
Then the issue is fixed