LAE

 View Only
  • 1.  Create Directory for output?

    Employee
    Posted 05-09-2019 13:36

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

    Originally posted by: StaticFX

    How can I create a directory for output?

    The files are in FolderA
    I grab them process them, create FolderB, then publish excel to it?

    Is there a way to also Move files from FolderA to the new FolderB

    Thanks!


  • 2.  RE: Create Directory for output?

    Employee
    Posted 05-10-2019 00:48

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

    Originally posted by: ThomasT

    I dont think there is a make directory command.
    But you can move files with the moveFile command, but that will only work when det destination folder exist.


  • 3.  RE: Create Directory for output?

    Employee
    Posted 05-10-2019 05:29

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

    Originally posted by: StaticFX

    there has to be some way.... hmm


  • 4.  RE: Create Directory for output?

    Employee
    Posted 05-10-2019 07:56

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

    Originally posted by: gmullin

    Have a look at the Output BRD node. You have an option to create a directory if it doesn’t exist. You can write out some dummy brd file just to create the directory you need and delete the file immediately after with deleteFile() in a clocked filter node.


  • 5.  RE: Create Directory for output?

    Employee
    Posted 05-10-2019 08:10

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

    Originally posted by: StaticFX

    ok, but the next problem is passing in the folder name?

    I need to
    put files in a source folder: done
    read file names: done
    load files from filename list: done

    create directory bases on filename list (one field in my single data row is the partial output name) [This thread]
    export excel based on the above named [Another thread]


    I dont want to have 20 global parameters that need to be changed every time i run this.