Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 1 File System Management Commands
Huawei Technologies Proprietary
1-4
-rwxrwxrwx 1 noone nogroup 971 Sep 20 2003 14:28:52 test.txt
1 -rw- 4 Apr 04 2005 20:13:47 [snmpboots]
31877 KB total (2182 KB free)
The files that have already been deleted and kept in the recycle bin are displayed with
the [ ] prompt.
# Display the information about all the files (including the deleted ones) in the
flash:/test/ directory whose names start with the t character.
<Quidway> dir /all flash:/test/t*
Directory of flash:/test/
0 -rw- 1 noone nogroup 971 Sep 20 2003 14:28:52 test.txt
7932928 bytes total (4966400 bytes free)
1.1.5 execute
Syntax
execute
filename
View
System view
Parameter
filename
: Name of the batch file, ranging from 1 to 256, 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 without back off operation. The batch
command does not guarantee the execution of each command, nor does it perform hot
backup itself. The forms and contents of the commands are not restricted in the batch
file.
Example
# Execute the batch file “test.bat” in the directory of “flash:/”.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] execute test.bat