ERROR

Submitting command to Operating System or Command not found

Last Published: April 25, 2020

Solution or Workaround

Description:

One of the following messages is returned while running an AML.

At the ARC level:

"Submitting command to Operating System"

Within modules (GRID, ARCPLOT, etc.):

"Command not found"

Solution:

This is the result of using a TAB key to indent blocks of code. The Tab character is invalid to AML and thus AML will not understand the command following the indentation.

Do not use the TAB key to format AMLs. Use multiple space keys, configure your editor to insert spaces when TAB is used, or run a filter on your AML file that converts TAB characters to multiple space characters.

Notes:

At Version 7.x, the TAB key can be used in an AML or from the command prompt to enter &TYPE directives and comment lines in an AML. In fact, it is permissible to precede any AML directive (starts with &) with a tab.

Commands and functions must be preceded by spaces.

Article ID:000001390

Software:
  • ArcMap 8 x
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic