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.
XCOM r11.6, Windows 2008
That occurs because program "xcomtcp" is not in your default Command Prompt directory. So, you have several ways to resolve that:
a. 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 and you will have to 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.
b. 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
c. Another way is to enter the command as follows:
"d:\Program Files\CA\XCOM\xcomtcp.exe" -cn -f <path of xml>
You will surround the path and command with double quotes followed by the rest of the command.