
Command Descriptions
Advanced User’s Guide
B-11
Syntax
DELTREE [/Y] [
filespec]
[[
filespec]
[...]]
Remarks
The
DELTREE
command allows the deletion of files and subdirectories in the
same step.
The
filespec
argument(s) indicate the name(s) of the file(s) or directory
tree(s) to delete, Wildcards are allowed.
Options
The
/Y
switch prevents
DELTREE
from prompting before deleting.
Examples
The following
DELTREE
command deletes all files and directories in the tree
C:\TEMP
:
DELTREE C:\TEMP
Use
DELTREE
to delete individual files, one at a time, using wildcards. To
delete selected files in the current directory, enter:
DELTREE
*.*
DELTREE
then prompts for each file it finds which allows the choice of
individually deleting them.
advuser.book Page 11 Friday, September 27, 2002 4:22 PM