Command Manual – File System Management 
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1  File System Management Configuration
 Commands
 
Huawei Technologies Proprietary 
1-12 
This command executes command lines in the batch file in sequence. Note that the 
batch file cannot contain any invisible character. If any invisible character is found, the 
command will quit execution and this process is irretrievable.  
This command is the automation of executing commands in the batch file manually 
except that the command: 
z  Does not guarantee that every command in the file is executed. 
z  Does not perform hot backup. 
z  Does not restrict the forms and contents of commands in the file. 
Example 
# Execute the batch file named test.bat under the directory flash:/. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] execute test.bat 
<Quidway> 
.... 
%Created dir unit1>flash:/test3. 
1.2.6  file prompt 
Syntax 
file prompt { alert | quiet } 
View 
System view 
Parameter 
alert: Prompts for confirmation before performing file-related operations that have 
potential risks. 
quiet: Disables prompts for file-related operations. 
Description 
Use the file prompt command to configure the prompt mode for file-related operations. 
By default, 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 operate improperly if irretrievable file-related operations are 
performed. For example, when the prompt mode is set as alert, the following messages 
will be displayed when you delete a file: 
<Quidway> delete unit1>flash:/te.txt