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 TransportXCOM 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:
Go to >Computer>Properties>Advanced System Settings.
On the window you should see a "Environmental Variables" button. Click on that.
In the System Variable pane list you should scroll down to find a variable called "Path".
Highlight it and click the Edit button.
A little window opens for the variable and will have a "Variable Value" field.
You can add the path for XCOM at the end of that value. Make sure not to delete the existing value by mistake.
Click OK to close everything .
Reboot your server.
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.
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
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.