974
C
57: F
S
M
C
HAPTER
ILE
YSTEM
ANAGEMENT
OMMANDS
The batch command executes the command lines in the batch file one by one.
There should be no invisible character in the batch file. If invisible characters are
found, the batch command will quit the current execution without back off
operation. The batch command does not guarantee the execution of each
command, nor does it perform hot backup itself. The forms and contents of the
commands are not restricted in the batch file.
Example
# Execute the batch file "test.bat" in the directory of "flash:/".
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] execute test.bat
file prompt
Syntax
file prompt { alert | quiet }
View
System view
Parameter
alert: Performs interactive confirmation on dangerous file operations.
quiet: Does not prompt for the file operations.
Description
Use the file prompt command to change the prompt modes of the file operation
on the switch.
By default, the prompt mode of the file operation is alert, which performs
interactive confirmation on dangerous file operations.
If the prompt mode is set as quiet, that is, no prompt for file operations, some
non-recoverable operations may lead to system damage.
Example
# Configure the prompt mode of file operation as quiet.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] file prompt quiet
fixdisk
Syntax
fixdisk device
View
User view
Parameter
device: Device name.
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers