3Com 4500 PWR 50-PORT, 4500 PWR 26-PORT, 4500 50-PORT manual Execute Syntax, File prompt Syntax

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 308
Image 308

302CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS

1 -rw- 248 Aug 29 2000 17:49:36 text.txt

20578304 bytes total (3104544 bytes free)

execute Syntax

execute filename

View

System view

Parameter

filename: Name of the batch file, which is a string up to 256 characters in length, with a suffix of “.bat”.

Description

Use the execute command to execute the specified batch file.

The batch command executes the command lines in the batch file one by one. There should be no invisible character in the batch file. If invisible characters are found, the batch command will quit the current execution. The forms and contents of the commands are not restricted in the batch file.

Example

To execute the batch file “test.bat” in the directory of “flash:/”, enter the following:

<4500>sys

System View: return to User View with Ctrl+Z.

[4500]execute test.bat

file prompt Syntax

file prompt { alert quiet }

View

System view

Parameter

alert: Select confirmation on dangerous file operations.; the default value is alert.

quiet: No confirmation prompt on file operations.

Description

Use the file prompt command to modify the prompt mode of file operations on the Switch.

If the prompt mode is set as quiet, so no prompts are shown for file operations, some non-recoverable operations may lead to system damage.

Example

Configure the prompt mode of file operation as quiet.

<4500>sys

System View: return to User View with Ctrl+Z

Page 308
Image 308
3Com 4500 PWR 50-PORT manual Execute Syntax, File prompt Syntax, Configure the prompt mode of file operation as quiet