100
Views
System view
Default command level
2: System level
Parameters
filename
: Specifies the name of a batch file. A batch file can use any extension, such as
.bat
or .
txt
.
Usage guidelines
A batch file contains a set of commands. Executing a batch file is to execute the commands in the file.
Do not include invisible characters in a batch file. If an invisible character is found during the execution,
the batch process aborts and the commands that have been executed cannot be cancelled.
Not every command in a batch file is sure to be executed. For example, if a certain command is not
correctly configured, the command fails to be executed, and the system skips the command and goes to
the next one.
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
When the operation mode is set to
quiet
, the system does not warn for any file operation. To avoid
misoperation, use the alert mode.
Examples
# Set the file system operation mode to
alert
.