Paxar Gold 6037EX Printer User Manual


 
4-14 ROM-DOS Internal Commands
/-Y confirms the copy of one file over the existing file of the same name.
This option overrides the setting made by the COPYCMD environment
variable. Set the COPYCMD environment variable with the SET
command. This allows you to set confirmation on or off for the COPY
command. If you always want to be prompted for confirmation when a file
will copy over an existing file, set COPYCMD= /-Y. To automatically
overwrite without confirmation during a copy instruction, set COPYCMD=
/Y. For proper usage, refer to the SET command.
Remarks
When no
filename
is specified for the target, the new copy is given the
same name as the source
filename
.
When no
drive
or
path
is specified for the source, the current drive and
directory are assumed. When no
drive
or
path
is specified for the target,
the current drive and directory are assumed.
If a drive name only is specified without a
path
, the current directory for
that drive is assumed.
Both source and target
filenames
may include wildcard characters (*) and
(?) to specify a set of several files.
Examples
COPY LETTER.T XT A:
Copies the file LETTER.TXT (in your current drive and path) to the
current directory on the disk in drive A:.
COPY *.DOC A:
Copies all files in the current directory with an extension of .DOC to the
default directory of drive A:.
COPY DATAORIG.DOC DATABACK.DOC
Creates a backup copy, DATABACK.DOC, from the file DATAORIG.DOC.
The new file is located in the current directory.