ERROR: "'xcomtcp' is not recognized as an internal or external command, operable program or batch file"
search cancel

ERROR: "'xcomtcp' is not recognized as an internal or external command, operable program or batch file"

book

Article ID: 44742

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows

Issue/Introduction

Received message "'xcomtcp' is not recognized as an internal or external command, operable program or batch file"  when trying to use the xcomtcp command to initiate a transfer from the Windows Command Prompt window. 

Environment

  • XCOMâ„¢ Data Transport® for Windows
  • MS Windows Server

Cause

That occurs because program "xcomtcp" is not in your default Command Prompt directory. 

Resolution

There are several ways to resolve that: 
  1. Go to >Computer>Properties>Advanced System Settings.
    1. On the window you should see a "Environmental Variables" button. Click on that. 
    2. In the System Variable pane list you should scroll down to find a variable called "Path".
    3. Highlight it and click the Edit button.
    4. A little window opens for the variable and will have a "Variable Value" field.
    5. You can add the path for XCOM at the end of that value. Make sure not to delete the existing value by mistake.
    6. Click OK to close everything .
    7. Reboot your server.
    8. Once your server is back you can start your Command Prompt and enter the "xcomtcp -cn -f <path of xml>" immediately and the command should work. 
  2. Another way is to just open the Command Prompt window and issue command "cd %xcom_home%.You should now be in the XCOM directory and you can issue the "xcomtcp" command 
  3. Another way is to enter the command as follows: 
    "d:\Program Files\CA\XCOM\xcomtcp.exe" -cn -f <path of xml>  Surround the path and command with double quotes followed by the rest of the command.