 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
rhubman16
Joined: 08 Mar 2016 Posts: 41
|
|
JAL - FileRename |
|
I am trying to rename a file in JAL script and have an issue with the rename not working correctly.
I have a file xxxmmdd.csv that I rename to xxxddmmyyy.inb
when the command FileRename (local_path, inbound_name) runs, it creates the .inb file but the .csv file is still there.
what would cause this issue and how can I correct it?
Thank you
|
|
Tue Jan 03, 2017 9:49 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
It might be due to the way the file path or name is specified. Note that both parameters expect full or relative file name. Or the source file might be in use.
You may want to try using FileMove instead of FileRename.
|
|
Tue Jan 03, 2017 10:45 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|