B-22
Falcon
®
DOS Portable Terminals
The
ATTRIB
command may be used to modify the archive bit for the various
XCOPY
options that check the archive status of files. Refer to the
ATTRIB
command description for instructions.
Options
The
/A
copies only source files that have the archive bit set in them. The
archive is not reset.
The
/D<
mm-dd-yy
>
option causes
XCOPY
to copy only those files with a
date later than the date specified in the
/D
option.
The
/E
option causes
XCOPY
to create subdirectories on the target even if they
are empty.
The
/M
option causes
XCOPY
to copy only those source files that have the
archive bit set. Once the source file is copied the archive bit is reset.
The
/P
option causes
XCOPY
to prompt before each file is copied. The
prompt appears as follows:
C:\COMMAND.COM (Y/N)?
If a Y is entered then the file is copied, otherwise, the file is not copied.
The
/S
option causes
XCOPY
to copy files in subdirectories of the source
directory.
The
/V
option causes
XCOPY
to verify each write to the disk.
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
advuser.book Page 22 Friday, September 27, 2002 4:22 PM