LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  movefile not working after upgrading to 4.1.5

    Employee
    Posted 03-16-2010 04:16

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: xathras

    Hi,
    I've recently upgraded to 4.1.5 and I'm no longer able to use the movefile command. I've attached the graph/problem report to this post.

    I'm getting error: "Invalid Escape Sequence in String".

    The graph is just an example graph to make it easier to zip/etc

    Any ideas?
    Attachments:
    BREProblemReport2.zip


  • 2.  RE: movefile not working after upgrading to 4.1.5

    Employee
    Posted 03-16-2010 06:39

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: timonk

    Xathras,
    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.


  • 3.  RE: movefile not working after upgrading to 4.1.5

    Employee
    Posted 03-16-2010 08:22

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: xathras

    hi, thanks. that worked