R3303-HP 6600/HSR6600 Routers Fundamentals Command Reference
94
Not every command in a batch file is sure to be executed. For example, if a certain command is not
correctly configured, the command will not be executed, and the system skips this command and goes to
the next command.
Each configuration command in a batch file must be a standard configuration command, meaning that
the valid configuration information can be displayed with the display current-configuration command.
Examples
# Execute the batch file test.bat in the root directory.
<Sysname> system-view
[Sysname] execute test.bat
file prompt
Use file prompt to set the file operation mode.
Syntax
file prompt { alert | quiet }
Default
The operation mode is alert.
Views
System view
Default command level
3: Manage level
Parameters
alert: Enables the system to warn you about operations that might bring undesirable results such as file
corruption or data loss.
quiet: Disables the system from warning you about any operation.
Usage guidelines
In quiet mode, the system does not prompt for confirmation when a user performs a file or folder
operation. The alert mode provides an opportunity to cancel a disruptive operation.
Examples
# Set the file system operation mode to alert.
<Sysname> system-view
[Sysname] file prompt alert
fixdisk
Use fixdisk to examine a storage medium for damage and repair any damage.
Syntax
fixdisk device
Views
User view










