This section details the general AutoShell core commands (cmdlets, funclets) in alphabetic order. These general commands are not platform-specific to LPAR or Solaris Zones. AutoShell defines a series of commands that simplify invoking the corresponding tasks.
The following regular JavaScript function call obtains a detailed directory listing of C:\:
ca.aip.direct.directory("C:\\*.*" , "",false,false,false,true)
The corresponding AutoShell command looks like the following:
dir C:\*.* -l
Examples
Lists the content of the current directory in the console:
dir *.*
Assign the directory listing to an array:
arr = dir *.* -retval
Copyright © 2013 CA. All rights reserved. |
|