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

Alteryx designer Discussions

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

The highly anticipated Alteryx Community tradition is back! We hope you'll join us!

Learn More

Bat File Will Not Execute

Asteroid

Hello,

 

I have the following (very simple) workflow that creates a BAT file for me, however it will not execute.  If I double click the bat file that is created, it performs as expected so I know the file is good.  However, when I run this workflow, the file (which is located in the yellow highlighted field below) is not executing.  Am I missing something simple?  Any suggestions?  Thank you.

 

clipboard_image_2.png

 

ACE Emeritus
ACE Emeritus

To run the bat file, you should:

  1. move the contents of the 'Command' parameter to 'Command Arguments' parameter
  2. put 'cmd.exe' in the 'Command' parameter

You might also want to precede 'C:\upload...' with '/c' so it reads '/c C:\Upload...'

Asteroid

Hi @tom_montpool 

 

Thanks for the reply.  I made the changes but the result is the same.  .bat file is created and will work if clicked on, but Alteryx won't kick it off.  I get an error code "The external program "cmd.exe" returned an error code: 1"

 

clipboard_image_0.png

ACE Emeritus
ACE Emeritus

Try putting the path the the bat file in the Working Directory parameter and leaving the command argument just /c fupload.bat

Labels