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:
The AutoShell login dialog appears.
The AutoShell command prompt appears.
CA AutoShell v1.5.0.1 Based on Mozilla SpiderMonkey 1.7 User name: ca Password : ********* VASU::->
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)
Copyright © 2015 CA Technologies.
All rights reserved.
|
|