HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Command Refer - Page 100
execute, file prompt
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 100 highlights
... execute Syntax View execute filename System view Default level 2: System level Parameters filename: Name of a batch file with a .bat extension. To change the extension of a configuration file to .bat, use the rename command. Description Use execute 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 cannot be executed, and the system skips this 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. system-view [Sysname] execute test.bat file prompt Syntax View file prompt { alert | quiet } System view Default level 3: Manage level Parameters alert: Enables the system to warn you about operations that may bring undesirable results, including file corruption or data loss. quiet: Disables the system from warning you about any operation. 93