Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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
Alteryx

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