3com 8807 참조 가이드
File System
973
View
User view
Parameter
/all: Display all the files (including the deleted ones).
file-url: File or directory name to be displayed. The file-url parameter supports "*"
matching. For example, using dir *.txt will display all the files with the extension
txt in the current directory.
matching. For example, using dir *.txt will display all the files with the extension
txt in the current directory.
Description
Use the dir command to view the information about the specified file or directory
in the storage device of the switch. This command supports "*" wildcard
characters.
in the storage device of the switch. This command supports "*" wildcard
characters.
Example
# Display the information about the file flash:/test/test.txt
<SW8800> dir flash:/test/test.txt
Directory of flash:/test/
-rwxrwxrwx 1 noone nogroup 971 Sep 20 2003 14:28:52 test.txt
7932928 bytes total (4966400 bytes free)
# Display the information about all the files (including the deleted ones) in the
flash:/test/ directory.
flash:/test/ directory.
<SW8800> dir /all flash:/test/
Directory of flash:/test/
-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.
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.
flash:/test/ directory whose names start with the t character.
<SW8800> 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)
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.