Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: timonkXathras,
Good day.
You need to escape the backslashes in your moveFile command, as they currently are being interpreted as special escape characters instead of just a file path.
So, make:
moveFile("c:\Filename.csv","c:\Filename_" + InvoiceRun + ".csv")
moveFile("c:\\Filename.csv","c:\\Filename_" + InvoiceRun + ".csv")
And assuming that your locations and filenames are accurate, you should be fine.
Regards
Timon Koufopoulos,
MDA SUpport.