Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Moving files based on the fields in Excel file

peterpark
5 - Atom

I'm trying to achieve batch command to move files, but based on the fields in Excel file / csv. Columns are "condition to meet", "source folder", and "target folder". For example,

Criteria ACriteria BSourceTarget
A1C:\A\1D:\A1
B1C:\B\1D:\B1
A3C:\A\3D:\A3

 

And so on. There are multiple files in the folder and we want to batch move all of them to its target folder. How is this done in Alteryx? Thanks!

4 REPLIES 4
DanS
9 - Comet

Hey Peter, 

 

Would the attached work for you? 

It would filter based on your conditions and save to the correct file. 

 

Let me know!

 

Thanks,

Dan

peterpark
5 - Atom

Unfortunately, this isn't actually moving files. I need to move one folder to another. I guess the criteria does not really matter in this case. Alteryx needs to look at Source, take all the files, and move to Target.

gc
9 - Comet

How about building the BAT file command lines in an Alteryx string field. One row for each command. Then output as Flat file to a filename ending in BAT?

Joe_Mako
12 - Quasar

How about the attached?

 

Move Files.png

Labels