View
User view
Default Level
3: Manage level
Parameters
/all: Displays all files.
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 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.
Examples
Display information about all files and folders.
<Sysname> dir /all
Directory of flash:/
0
-rw-
1
-rw-
2
-rw-
3
-rw-
4
-rw-
31750 KB total (9178 KB free)
[ ] indicates this file is in the recycle bin.
Table 7
dir command output description
Field
Directory of
d
r
w
h
10736924
Jul 25 2008 10:32:37
10348532
May 06 2008 17:55:20
26348
Dec 06 2007 10:37:53
1494
Jul 30 2008 10:42:53
33
Jul 30 2008 10:42:47
Description
The current working directory
Indicates a directory; if this field does not exist, it indicates a file.
Indicates that the file or directory is readable.
Indicates that the file or directory is writable.
Indicates that the file or directory is hidden.
main.bin
backup.bin
default.diag
startup.cfg
system.xml
104