beautypg.com

Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 89

background image

7/9/98

ROM-DOS 6.22 Command Descriptions 3-31

COPY (cont.)

The target device is a console or printer (PRN).

COPY [d:][path]filename[/option] device

The device is the source such as a keyboard or console, the output of
which is directed to the target filespec.

COPY device [d:][path]filename[/option]

Options

/A and /B stand for ASCII and binary, respectively. They act as
switches that allow each of these file types to be copied. When a
switch is used, it applies the preceding filename, and remains in effect
for any subsequent filenames until superseded by another /A or /B.

Usually /A and /B are not necessary unless you are combining ASCII
and binary files.

/A indicates that the file is treated as an ASCII file (text file). When /A
is used with the source file, everything is copied up to, but not
including, the first end-of-file marker. When /A is used on
the target file, a is added as the last character in the file.

/B indicates that the file is to be treated as a binary file. When /B is
used with the source file, the entire file is copied regardless of any
characters. When /B is used with the target filespec, no
end-of-file mark is added.

/H copies hidden files.

/V (Verify) is not implemented in ROM-DOS, for code size reasons. It
is included to maintain command-line compatibility, but has no
functional impact.

/Y copies the current file(s) over the existing file(s) of the same
name(s) without confirmation. Using this option overrides the setting
made by the COPYCMD environment variable.