Alteryx Designer Desktop Knowledge Base

Definitive answers from Designer Desktop experts.

Error: The external program "C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe" returned an error code: 2: The system could not find the environment option that was entered. (203)

londonhanson
Alteryx
Alteryx
Created

Error: “Error: Designer x64: The Designer x64 reported: Error running Event #1: The external program "C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe" returned an error code: 2: The system could not find the environment option that was entered. (203)”

 

Environment Details

 

When using a Run Command Tool or a workflow run command event, this error is returned. Oftentimes, there are typos, spaces, or extra characters in the command argument.

Error: Designer x64: The Designer x64 reported: Error running Event #1: The external program "C:\Program Files\Alteryx\bin\AlteryxEngineCmd.exe" returned an error code: 2: The system could not find the environment option that was entered. (203)

 

  • Alteryx Designer
    • All versions
  • Run Command Tool
  • Events



Cause

 

The "system could not find the environment option that was entered" error can be caused by a mismatch in the file name, extra characters, typos, or spaces in the command argument. To test, the command can be entered into Command Prompt and ran as an administrator. If the command fails outside of Designer, the issue lies with the command syntax or spelling.



Resolution

 

Solution

 

  1. Check the Command Arguments input in the Run Command configuration. Do the files names match exactly? Are there any typos? If there are spaces in the Command Argument like the image below, proceed to step 2
image.pngimage.png
  1. If there are spaces in the Command Argument, enclose the entire argument in double quotes ("):

 

image.pngimage.png

If the argument is not surrounded by quotations, only the first word will be ran as the argument. Adding quotes ensures the whole argument is ran.



Additional Resources