3com S7906E Guide De Référence
1-4
Use the dir /all command to display information about all files and folders in the current directory,
including hidden files, hidden sub-folders and the files in the recycle bin that originally belong to the
current directory. 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 *.
Examples
# Display information about all files and folders.
<Sysname> dir /all
Directory of flash:/
0 -rw- 6985954 Apr 26 2005 21:06:29 mainup.app
1 -rwh 1842 Apr 27 2005 04:37:17 private-data.txt
2 -rw- 1518 Apr 26 2005 12:05:38 config.cfg
3 -rw- 2045 May 04 2005 15:50:01 backcfg.cfg
4 -rwh 428 Apr 27 2005 16:41:21 hostkey
5 -rwh 572 Apr 27 2005 16:41:31 serverkey
6 -rw- 2737556 Oct 12 2005 01:31:44 [old.app]
64389 KB total (54880 KB free)
[ ] indicates this file is in the recycle bin.
Table 1-1 dir command output description
Field
Description
Directory of
Current directory
d
Directory. The item is a file if d is not displayed.
r
The file or directory is readable.
w
The file or directory is writeable.
h
The file or directory is hidden.
[ ]
The file is in the recycle bin.
execute
Syntax
execute filename
View
System view
Default Level
2: System level
Parameters
filename: Name of a batch file with a .bat extension.