Paxar Gold 6037EX Printer User Manual


 
ROM-DOS Internal Commands 4-13
COPY device [drive:][path]filename[/option]
The
device
is the source such as a keyboard or console, the output of
which is directed to the target
filename
.
Options
The /A and /B options represent ASCII and binary, respectively, and act
as switches that allow each of these file types to be copied. When /A or
/B is used, it applies to the preceding
filename
. The option remains in
effect for any
filenames
following in the command line until superseded
by another /A or /B.
/A and /B options are only needed when combining ASCII and binary
files.
/A treats the file as an ASCII file (text file). When used with the source
file, everything is copied up to, but not including, the first CTRL+Z end-of-
file marker. When /A is used on the target file, a Ctrl+Z is added as the
last character in the file.
/B treats the file as a binary file. When /B is used with the source file,
the entire file is copied regardless of any Ctrl+Z characters. When /B is
used with the target
filename
, no Ctrl+Z end-of-file marker is added.
/H copies hidden files.
/V is not implemented in ROM-DOS for code size reasons. It is included
to maintain command-line compatibility.
/Y copies the current file(s) over the existing file(s) of the same name(s)
without confirmation. This option overrides the setting made by the
COPYCMD environment variable.