In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

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
Top Solution Authors