6-5 
2)  Download the batch file to the device. If the suffix of the file is not .bat, use the rename command 
to change the suffix to .bat. 
3)  Execute the batch file. 
Follow these steps to execute a batch file: 
To do…  Use the command…  Remarks 
Enter system view 
system-view 
— 
Execute a batch file 
execute 
filename
 
Required
 
 
 
Execution of a batch file does not guarantee the successful execution of every command in the batch 
file. If a command has error settings or the conditions for executing the command are not satisfied, the 
system will skip the command to the next one. 
 
Memory Space Management 
When some space of a storage medium becomes inaccessible due to abnormal operations, you can 
use the fixdisk command to restore the space of the storage medium. The execution of the format 
command formats the storage medium, and all the data on the storage medium is deleted. 
Use the following commands to manage the storage medium space: 
To do…  Use the command…  Remarks 
Restore the space of a storage 
medium 
fixdisk 
device
 
Optional 
Available in user view 
Format a storage medium 
format
 device
 
Optional 
Available in user view
 
 
 
When you format a storage medium, all files stored on it are erased and cannot be restored. In 
particular, if there is a startup configuration file on the storage medium, formatting the storage medium 
results in loss of the startup configuration file. 
 
Setting File System Prompt Modes 
The system provides the following two prompt modes: 
z  alert: In this mode, the system warns you about operations that may bring undesirable 
consequences such as file corruption or data loss. 
z  quiet: In this mode, the system does not ask confirmation for any operation. 
To prevent undesirable consequence resulted from misoperations, the alert mode is preferred.