Compiling a script file (Telnet)

After creating a script file, it must be compiled to produce a batch file.

About this task

This step verifies command syntax, but does not verify specific names (such as datastore names, subscription names, and so on) identified in a command invocation. If the script file contains connectServer - Connect to Access Server, compiling also encrypts the Management Console user password in the batch file. This prevents the password from being seen by other users. When the batch file is executed, the encrypted password is internally decrypted before connectServer - Connect to Access Server is invoked.

If the script file you are compiling contains execute - Run Batch File commands, you must individually compile each script file (in no specific order) identified in the execute - Run Batch File commands. Compiling the script file containing the execute - Run Batch File commands does not automatically compile nested script files.

After compiling a script file, do not modify the generated batch file that you will run. If you edit the batch file after compilation, you will not be able to run this file.

Note: Script files must be compiled outside an interactive command environment.

Perform the following steps based on the operating system running on the workstation where Management Console has been installed.

Procedure

  1. Perform the steps under Windows outside of the Telnet command environment that you may have opened to submit commands interactively. If necessary, use exit - Close Command Environment to end the command environment.
  2. If the compile is successful, the specified batch file will be created. This is the file that you will run.