Alteryx Designer Desktop Discussions

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

My run command batch file is creating a file instead of a folder?

helenjin1
8 - Asteroid

Help, I'm quite mystified. I set my run command tool up to create a batch file (put in %Engine.TempFilePath%). Hooked up to the run command tool is a formula tool that feeds this line in:

 

"If not exist "+'"'+"%Engine.WorkflowDirectory%"+[FolderName]+'"'+" mkdir "+'"'+"%Engine.WorkflowDirectory%" + [FolderName]+'"'

 

For some reason, this process creates a file named [Folder Name] instead of an actual folder. It previously successfully create a folder. 

 

2 REPLIES 2
joshuaburkhow
ACE Emeritus
ACE Emeritus

Try something like what I attached. This works for me! Just need to swap out your folder/formula 😉

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
helenjin1
8 - Asteroid

I figured it out! My output delimiter was set to ',' but needed to be set to '\0'.

Labels