Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Using the run command tool to create a new directory

amberferger
6 - Meteoroid

I am attempting to use the run command tool to create a new folder within a current directory. The base directory has special characters and spaces in it, so I need to use double quotes around the base path. 

 

Unfortunately, when I attempt to add the double quotes, Alteryx ends up storing an extra set of quotes around the entire command. 

 

Example output from Alteryx: 

Command
"mkdir ""s:\corp\name1 & name2\2019_Q2"""

 

Proper output:

Command
mkdir ""s:\corp\name1 & name2\2019_Q2""

 

Has anyone else experienced this before and/or know how to prevent Alteryx from storing the extra set of quotes?

 

Thanks!

Amber

2 REPLIES 2
MichalM
Alteryx Alumni (Retired)

When building a .bat file in Alteryx make sure you set the output to csv and 'Quote Output Fields' option to Never. See the attached.

 

batch.png

amberferger
6 - Meteoroid

Thank you so much - this worked perfectly!

 

Labels
Top Solution Authors