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

Run Command Tool not executing BAT file

vishaldwivedi
5 - Atom

Hi Team ,

 

I am facing issue while running the BAT file using Alteryx , I am using AZcopy command to transfer BLOB from Azure to my local machine , command is running fine in CMD but if I execute the same command using Run command tool its giving error i.e. Error: Run Command (1): The external program "%temp%/azcopyfile.bat" returned an error code: 1 . But when I double click to the batch file which is generated in alteryx it is working fine . Couldn't able to figure it out why it is giving the error .

 

I have attached the workflow , I have also set up the path of azcopy software in system variable .

Please help me out , I am just one step away from finishing this task .

 

vishaldwivedi_0-1666374471574.pngvishaldwivedi_1-1666374556548.png

 

3 REPLIES 3
ckaushik001
6 - Meteoroid

@vishaldwivedi , please change the "Param" value in filter tool to " --recursive=true", and use backward slash (\) in the Run Command tool instead of forward slash (/), and try again.

vishaldwivedi
5 - Atom

Thanks for the guiding me, I have tried with the changes mentioned by you but still getting the same error.

This time I have attached my write output configuration as well.

vishaldwivedi_0-1666678728430.pngvishaldwivedi_1-1666678775026.png

 

ckaushik001
6 - Meteoroid

@vishaldwivedi , it looks like some token authentication issue with Blob (source path). Please refer to this article for help. I don't see any other issue in the configuration.

 

https://learn.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy

 

Labels
Top Solution Authors