Execute - HP A7500 Series Command Reference Manual

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

Table 8 Output description
Field
Directory of
d
r
w
h
[ ]

execute

Syntax
execute filename
View
System view
Default level
2: System level
Parameters
filename: Name of a batch file with a .bat extension. You can use the rename command to change the
suffix of the configuration file to .bat to use it as a batch file.
Description
Use the execute command to execute the specified batch file.
Batch files are command line files. Executing a batch file is to execute a set of command lines in the file.
Do not include invisible characters in a batch file. If an invisible character is found during the execution,
the batch process will abort 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 will fail to be executed, and the system omits this command and goes
to the next one.
The configuration generated after a batch file is executed will not be backed up to the standby MPU
automatically.
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
Description
The current working directory
Indicates a directory. If this field does not exist, it indicates a file.
Indicates that the file or directory is readable.
Indicates that the file or directory is writable.
Indicates that the file or directory is hidden.
Indicates that the file is in the recycle bin.
85

Advertisement

Table of Contents
loading

Table of Contents