Symbol PDT 3200 Technical Reference Manual page 81

Hide thumbs Also See for PDT 3200:
Table of Contents

Advertisement

/-Y
This option indicates that you want to conÞrm the copy of one Þle over the
existing Þle of the same name. Using this option will override the setting made
by the COPYCMD environment variable.
The COPYCMD environment variable can be set using the SET command. This
allows you to set conÞrmation on or off for the COPY command. If you always
want to be prompted for conÞrmation when a Þle will copy over an existing Þle,
set COPYCMD= /-Y. To automatically overwrite without conÞrmation during a
copy instruction, set COPYCMD= /Y. Refer to the SET command for proper usage.
Remarks
When no Þlename is speciÞed for the target, the new copy will be given the same
name as the source Þle name.
When no drive or path is speciÞed for the source, the current drive and directory
is assumed. When no drive or path is speciÞed for the target, the current drive and
directory are assumed.
If a drivename only is speciÞed without a path, the default directory for that drive
is assumed.
Both source and target Þlespecs may include wildcard characters (* and ?) to
specify a set of several Þles.
Examples
COPY LETTER.TXT A:
This command will copy the Þle LETTER.TXT (in your current default drive and
path) to the default directory on the disk in drive A.
COPY *.DOC A:
Copies all Þles in the default directory with an extension of .DOC to the default
directory of drive A.
COPY DATAORIG.DOC DATABACK.DOC/V
This example creates a backup copy, DATABACK.DOC, from the Þle
DATAORIG.DOC, then veriÞes that the Þle was correctly copied. The new Þle will
be located in the current default directory.
Chapter 5: ROM DOS Commands
5-29

Advertisement

Table of Contents
loading

Table of Contents