Solved! Go to Solution.
@mocalvo I would use the MKdir command and create a temp bat file to do that. I've attached a working version on my end. You can tweak the formula tool to get the folder naming convention just right. I wasn't sure if you wanted a monthly or daily folder, and whether you wanted the dashes in the folder name. You can use the DateTimeFormat function if you wanted to get rid of the dashes in the folder or file name.
EDIT: the first file had a small issue with the data coming into the append tool. It has been corrected.
Hey, I am getting the error "Error: Run Command (50): The external program "%temp%bat.bat" returned an error code: 1"
How can I fix this?
Hi Patrick,
I found this older thread regarding dynamic output folder and I was wondering if you could help me with a case that might be related to this one.
I have a dataset with including 200 vendors and their related activities. Each vendor has a unique vendor code im my dataset. I would like to separate the dataset for as many excel files as many vendors I have in the dataset and include their respective information.
Is it possible to achieve in similar way to the case below?
thanks very much for the help in advance!
Regards,
MateK
Hi @EtamSoko if you're looking to use the output tool to save to different excel files, you can use the "take file/table name from field" option at the bottom of the output tool. If you're very particular about the naming convention, you could use a formula tool before the output field to create a field that holds the entire file name (for example "C:\My folder\" + [MyVendorName]+".xlsx|||Sheet1") and then use the change entire file path option at the bottom of the output tool. If you build your process and reach a road block, feel free to start a new thread and ask for help!
User | Count |
---|---|
19 | |
15 | |
15 | |
9 | |
8 |