AMT Help Files

Batches and Scripts

When using Batches and Scripts in AMT it is highly recommended to use the new ComScript functionality as provided in the ComScript Module. But for older applications a few utilities of old Lion versions are still available.

The AMT suite contains a diverse set of utilities that can be used in your script files, which may for instance be batch files, VB scripts, Java scripts or Perl scripts. Batches and scripts are often used for running reports at night, to prevent that the daily work load is not disturbed. Through the Job scheduler in the ControlCenter, the script files can be scheduled. Subsequently, these scripts will then be handled by the Job server.

The following AMT batch/script utilities are available:

The Control Online and Wait utilities are located in the Common directory of the generated application. Pinstall in the AmtTools\Prodinstall directory of the AMT installation, Liondev in the Lion directory and Setup in the Setup directory.


The Liondev executable provides (besides the AMT development interface) also batch/ script options for importing and exporting AMT sources.

Of course you can also use batch/script utilities from alternate suppliers, like the Windows services Net start and Net stop.

When using the AMT ComScript Module , most of the functionality that is provided by the batch utilities can also be called from external applications that support COM. 

The executable Wait needs to know which application to act on. Therefore before starting Wait.exe, either the Windows environment variable AmtAppName has to be set to one of the applications or the executable has to be started using the parameter /APP:<Application Name>.