3Com MSR 30 Network Router User Manual


  Open as PDF
of 2742
 
2353
Parameter /all: Displays all files (including those in the recycle bin).
file-url: Name of the file or directory to be displayed. Asterisks (*) are acceptable as
wildcards. For example, to display files with the .txt extension under the current
directory, you may use the dir *.txt command.
Description Use the
dir command to display information about all visible files and folders in
the current directory.
Use the
dir /all command to display information about all files and folders on
your device, including hidden files, hidden subfiles and those in the recycle bin.
The names of these deleted files are enclosed in pairs of brackets ([ ]).
The dir file-url command displays information about a file or folder.
This command supports the wildcard *.
Example # Display information about all files and folders.
Directory of cf:/
0 drw- - Jul 18 2006 10:32:44 logfile
1 -rw- 16044820 Oct 30 2006 15:46:58 main.bin
2 -rwh 4 Oct 31 2006 14:08:16 snmpboots
3 -rw- 2012 Oct 30 2006 16:17:28 config.cfg
4 -rwh 828 Oct 30 2006 16:17:26 private-data.txt
5 drw- - Oct 31 2006 14:28:24 test
6 -rw- 16044820 Oct 31 2006 14:34:24 [mytest.bin]
252344 KB total (220800 KB free)
File system type of cf: FAT16
[ ] indicates this file is in the recycle bin.
execute
Syntax execute filename
View System view
Parameter filename: Name of a batch file with a .bat extension.
Description Use the
execute command to execute the specified batch file.
Batch files are command line files. Executing a batch file is to execute a set of
command lines in the file.
You should not include invisible characters in a batch file. If an invisible character is
found during the execution, the batch process will abort and the commands that
have been executed cannot be cancelled.
Not every command in a batch file is sure to be executed. For example, if a certain
command is not correctly configured, the system omits this command and goes to
the next one.