Adaptec 2020ZCR Reference Guide - Page 277
Automated Scripts
UPC - 760884151136
View all Adaptec 2020ZCR manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 277 highlights
A Automated Scripts This appendix describes how to write DOS batch files and CLI command scripts to perform the controller details task. You can use the CLI commands alone in CLI command scripts or in combination with DOS commands in DOS batch files. Also, you can invoke CLI command scripts in a DOS batch file. You should already understand how to write DOS batch files and be familiar with Windows-related backup commands. To execute a CLI command script, type the @ (at sign) followed by the file name that contains the CLI commands, for example: AAC0>@array.txt Creating an Automated Script In its simplest form, a CLI command script is a text file that contains valid CLI commands. A carriage return linefeed follows each command. The following CLI command script: 1 Opens controller aac0 by invoking the CLI command open. 2 Invokes controller details. 3 Closes controller aac0 by invoking the CLI command close. 4 Exits the example CLI command script. open AAC0 controller details close AAC0 exit A-1