![NEC SOPHO IP 5000 Command Reference Manual Download Page 46](http://html.mh-extra.com/html/nec/sopho-ip-5000/sopho-ip-5000_command-reference-manual_250069046.webp)
SOPHO
IP 5000/SOPHO IP6000
Command Reference Guide
46
<NEC-PHILIPS>
dir
Syntax
dir [ /all | /h ] [ filename ]
View
User view
Parameter
/
all
: Displays all files (including the deleted files).
/
h
: Displays the information about the private files. This parameter is
unavailable if there is no storage device on the router.
filename
: Name of the file or directory displayed.
Description
Using the
dir
command, you can display the information about the specified file
or directory in the router storage device.
By default, this command displays the file information under the current
directory.
This command supports "*"
wildcard
.
The
dir /all
command can be used to display the information about all the files,
including the deleted files. The names of the deleted files are denoted with "[]",
for instance, [temp.cfg]. Such deleted files can be restored via the
undelete
command. The
reset recycle-bin
command can be used to delete the file from
the recycle bin permanently.
The
dir /h
command can be used to display the information about the private
file under the current path. The attribute of the private file is represented by “---
h”.
Example
Display the information about the file flash:/test/test.txt.
<NEC-PHILIPS>
dir flash
:
Directory of flash:
-rwxrwxrwx 1 noone
nogroup 4316742 Oct 10 2002 10:10:10
system
-rwxrwxrwx 1 noone
nogroup 16
Jan 01 1970 00:00:57
private-data.txt
-rwxrwxrwx 1 noone
nogroup 351
Jan 01 1970 00:01:03
vrpcfg.txt
7672832 bytes total (3351552 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”.