3com S7906E Guide De Référence
1-3
file-url: Name of the file to be deleted. Asterisks (*) are acceptable as wildcards. For example, to remove
files with the extension of .txt in the current directory, you may use the delete *.txt command.
Description
Use the delete command to move a specified file from a storage device to the recycle bin, where you
can restore the file with the undelete command or permanently delete it with the reset recycle-bin
command.
The dir /all command can display the files moved to the recycle bin. These files are enclosed in pairs of
brackets.
This command supports the wildcard *.
If you delete two files in different directories but with the same filename, only the last one is retained in
the recycle bin.
Examples
# Remove file tt.cfg from the root directory.
<Sysname> delete tt.cfg
...
Delete flash:/tt.cfg?[Y/N]:y
.
%Delete file flash:/tt.cfg...Done.
dir
Syntax
dir [ /all ] [ file-url ]
View
User view
Default Level
3: Manage level
Parameters
/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.