Xdel - Symbol PDT 3200 Technical Reference Manual

Hide thumbs Also See for PDT 3200:
Table of Contents

Advertisement

Command
Type
Purpose
The XDEL command deletes Þles and subdirectories including empty
subdirectories.
Syntax
XDEL filespec [/ options ]
Remarks
The XDEL command allows the deletion of Þles and subdirectories in the same
step.
The filespec argument is the starting point for the deletion. The filespec argument
can contain the drive and path for reaching the starting point and can also contain
wild card characters to designate a group of Þle or directory names.
Options
The /D option deletes empty subdirectories. Deletion will not occur if there are
any Þles in the subdirectory, unless the /S option is speciÞed along with the /D
option.
The /P option gives you a conÞrmation prompt before deleting each Þle.
The /R option allows deletion of read-only Þles without having to change the Þle
attributes prior to the delete.
The /S option deletes Þles in subdirectories located below the speciÞed starting
directory. When used along with the /D option, it will delete the Þles within a
subdirectory along with the subdirectory entry itself.
Examples
The following examples will all use the diagram below as a reference:
The following XDEL command would delete all of the Þles in the directories DIR1,
SUB1, and SUB2 but not the directory headings themselves.
XDEL DIR1 /s
To delete the empty subdirectory heading for SUB3, use XDEL as follows:

XDEL

External
Chapter 5: ROM DOS Commands
5-99

Advertisement

Table of Contents
loading

Table of Contents