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.  Rename the Temp file with the input file name

    Employee
    Posted 06-28-2016 09:58

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

    Originally posted by: Jagdev

    Hi Experts,

    Is there a way I can rename my output file which is temp.xlsx to the name of the input file.

    Say - Sample.xlsx is my input file and after performing action I save it in a different location with name temp.xlsx, I want to rename this temp,xlsx file to Sample_Final_Output.xlsx

    Regards,
    Jagdev


  • 2.  RE: Rename the Temp file with the input file name

    Employee
    Posted 06-29-2016 05:28

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

    Originally posted by: Jagdev

    Hi,

    I am able to get this fixed.

    Regards,
    Jagdev


  • 3.  RE: Rename the Temp file with the input file name

    Employee
    Posted 06-29-2016 06:23

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

    Originally posted by: awilliams1024

    I'm glad you sorted it out.

    Just to provide a hint for anyone else looking for a similar solution, see the moveFile() operator in the File and System Operators of the BRAINScript Help.
    Also, the appendFile() and deleteFile() operators may be of interest as they allow you to create/append to a file and delete a file respectively.

    Regards,
    Adrian