Previous Topic: Functional OverviewNext Topic: Valid AutoShell User


Start AutoShell

AutoShell is a command line and scripting environment that automates complex recurring and management tasks. It is a combination of a scripting language (JavaScript) and a command line shell. It allows you to use JavaScript syntax with AutoShell commands, functions, and classes directly in the AutoShell, or run the scripts in .js files.

Note: For more information about the AutoShell, see the Reference Guide.

Follow these steps:

  1. Open the Windows Explorer and navigate to the following directory:
    C:\Program Files\CA\SC\AutoShellManager
  2. Double-click caaipaomautoshell.exe.

    The AutoShell login dialog appears.

  3. Enter the user name and password that you have defined during the installation.

    The AutoShell command prompt appears.

    CA AutoShell v1.5.0.1
    Based on Mozilla SpiderMonkey 1.7
    User name: ca
    Password : *********
    VASU::->
    
  4. Enter AutoShell expressions or commands as appropriate.
  5. Enter exit to exit AutoShell.

Examples

Display Hello World!:

? "Hello World!"
Hello World

Display the numbers from 1 to 10:

for(i=1;i<11;i++)qout(i);
1
2
3
4
5
6
7
8
9
10

Display the current date and time:

? "Today is", new Date
Today is Tue Jun 02 2009 14:17:05 GMT-0400 (Eastern Daylight Time)

More Information

Valid AutoShell User