3com 5500-ei pwr Guía De Referencia

Descargar
Página de 1314
 
1-7 
Parameters 
filename: Batch file, with the extension .bat. 
Description 
Use the execute command to execute the specified batch file. Executing a batch file is to execute a set 
of commands in the batch file one by one. 
Note that: 
A batch file cannot contain any invisible character. If any invisible character is found, the system 
will abort the execution of the batch file, that is, the remaining commands in the batch file will not be 
executed, but the executed operations will not 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 system omits this command and goes to the next one. 
Each configuration command in a batch file must be a standard configuration command, meaning 
that the configuration information can be displayed with the display current-configuration 
command after this command is configured successfully; otherwise, this command may not be 
executed correctly. 
Examples 
# Execute the batch file named test.bat under the directory flash:/
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] execute test.bat 
<Sysname> 
.... 
%Created dir unit1>flash:/test3. 
file prompt 
Syntax 
file prompt { alert | quiet } 
View 
System view 
Parameters 
alert: Specifies to prompt for confirmation before performing file-related operations that have potential 
risks. 
quiet: Specifies to disable prompts for file-related operations. 
Description 
Use the file prompt command to configure the prompt mode for file-related operations. 
By default, alert mode is used, by which a switch prompts for confirmation before performing file-related 
operations that have potential risks. 
If you set the prompt mode of the file-related operations to quiet, the switch does not prompt for 
confirmation before performing file-related operations. In this case, the system is more likely to be 
damaged due to some maloperations. For example: