User's Guide

Recovering the command line

You can recover the command line arguments by using the method commandLine in the class EmSystemConfiguration. Recall that System is a global variable for the one instance of the class EmSystemConfiguration. To see the current command line, display the following phrase in the Transcript or a Workspace:

System commandLine

This method returns an array of type String. The first argument is the name of the executable, except for the Windows platform where it is always 'arg1'.

For example, assume you start the system with the following command line:

abt -iimage -mo10000000

Evaluating System commandLine returns the following array:

#('E:\abt.exe' '-iimage' '-mo10000000')


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]