Using the Command Prompt Window: Dell Flexible Array Storage Tool
User's Guide
Back to Contents Page
Using the Command Prompt Window:
Dell Flexible Array Storage Tool
User's Guide
| Accessing the Command Prompt Window |
Using the Clipboard with the Command Prompt Window |
Running CLI Scripts |
Logging CLI Output |
Exiting the Command Prompt Window |
The Command Prompt window enables you to run the command-line interface (CLI) from within FAST. This chapter explains how to use the FAST Command Prompt window and its associated dialog boxes.
Accessing the Command Prompt Window
You can open only one Command Prompt window per controller per FAST session.
To access the Command Prompt window, from which you run the CLI, do the following:
- Select Display from the Window Command Prompt submenu.
- The Command Prompt window appears (Figure 1).
Figure 1. Use the Command Prompt window to run the CLI
- Enter a command in the Command box using one of the following methods:
- Right-click in the Command box and select a command from the shortcut menu. Not all commands are available through this method. (You might need to enter or change information, such as parameters or switches, from your keyboard.)
- Type the entire command.
- See the Command Line Interface Reference Guide for a complete list of CLI commands. The Command Line Interface Reference Guide is available from the Dell Web site at www.dell.com .
Note:
If you open a new view window while the Command Prompt
window is active, the new view window is the same type as the one
currently indicated in the toolbar. (See Adding a New View Window.)
Using the Clipboard with the Command Prompt Window
The standard Cut, Copy, and Paste commands become available, when appropriate, from the Edit menu when you open the Command Prompt window. You can use all three commands in the command box, but you can only use Copy in the FAST command-line pane.
Running CLI Scripts
The Run Command File menu command becomes available from the Window Command Prompt submenu when the Command Prompt window is active. The Run Command File command displays the Execute AFA Batch File dialog box (Figure 2).
Figure 2. Execute AFA Batch File dialog box
Instead of executing a batch file (@filename) command from the Command box in the Command Prompt window, you can execute the batch file from the Execute AFA Batch File dialog box.
To execute a batch file, select the file from the Execute AFA Batch File list box and click Open.
The commands in the batch file are executed in the Command Prompt window.
Logging CLI Output
The Log Output command displays the Select Log File dialog box (Figure 3), which enables you to create or select a log file in which to store the output resulting from CLI commands. The Log Output command becomes available from the Window Command Prompt submenu when the Command Prompt window is active.
Figure 3. Select Log File dialog box
Instead of executing a logfile start filename command from the Command box in the Command Prompt window, you can start a log file from the Select Log File dialog box. Select a file from the list box and click Save. The logfile start filename command is automatically executed in the Command Prompt window.
To discontinue logging the output from CLI commands, select Log Output from the Window Command Prompt submenu a second time. Selecting Log Output when the command is active executes the logfile end command in the Command Prompt window.
Exiting the Command Prompt Window
To exit the Command Prompt window, click the X button in the upper right corner of the window.
Back to Contents Page