A SERVICE OF

logo

ROM-DOS Commands 6-31
2325A137REFGD Revision B 2325 Reference Guide
The /W option causes XCOPY to wait before starting to copy files. The
following prompt is displayed.
Press any key to begin copying file(s)
Example
XCOPY to the A drive all files in the BIN subdirectory that have an EXE
extension and that have the archive bit set.
XCOPY \bin\*.exe a: /a
XDEL
Type
External
Purpose
The XDEL command deletes files and subdirectories including empty
subdirectories.
Syntax
XDEL filespec [/options]
Remarks
The XDEL command allows the deletion of files 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 file or directory names.
Options
The /D option deletes empty subdirectories. Deletion will not occur if
there are any files in the subdirectory, unless the /S option is specified
along with the /D option.
The /P option gives you a confirmation prompt before deleting each file.
The /R option allows deletion of read-only files without having to
change the file attributes prior to the delete.
The /S option deletes files in subdirectories located below the specified
starting directory. When used along with the /D option, it will delete the
files within a subdirectory along with the subdirectory entry itself.