community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Using the run command tool to create a new directory

Highlighted
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

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

Meteoroid

Thank you so much - this worked perfectly!

 

Labels