Free Trial

Alteryx Designer Desktop Discussions

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

Error running bat file from run command tool

jaipersr
7 - Meteor

Hi all,

I seem to be running into an error. I am trying to run a simple bat command that I am making in worklfow. I am using the run command tool however it keeps giving me the error "The file test.bat is not a known format" Any reason for this?

5 REPLIES 5
Raj_Singh1
9 - Comet

can you please share workflow

AkimasaKajitani
17 - Castor
17 - Castor

Does the batch file work well at Windows Command Line?

Please check the setting of Run Command tool.

 

Delimiters : \n

First Row Contains Field Name  : No Check

Quote Output Field : Never 

 

AkimasaKajitani_0-1604965701864.png

 

 

 

jaipersr
7 - Meteor

Hi,

I am just trying to run a simple command where I copy a file from one location and paste it to another folder. I will attach my workflow.

AkimasaKajitani
17 - Castor
17 - Castor

Thank you sample workflow.

I checked it.

 

The file type must be set appropriately.

 

AkimasaKajitani_0-1605017876830.png

 

You have set it as the below and send the command field to Run Command tool.

 

AkimasaKajitani_1-1605018078944.png

 

Please refer attached file.

 

Raj_Singh1
9 - Comet

hi @jaipersr 

 

i have changed the file format in the run command

 

also attached the modified solution. hope it works and you may be find it easy to configure now.

 

Please like the acceptable solution if it answers your query 🙂

thanksCapture4.JPG

Labels
Top Solution Authors