Results 1 to 5 of 5

Thread: Create Directory for output?

  1. #1

    Default Create Directory for output?

    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. #2
    Contributor
    Join Date
    Apr 2011
    Location
    Copenhagen
    Posts
    144

    Default

    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. #3

    Default

    there has to be some way.... hmm

  4. #4
    Lavastorm Employee gmullin's Avatar
    Join Date
    May 2014
    Location
    Chicago
    Posts
    185

    Default

    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. #5

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •