Copy - Symbol PDT 3200 Technical Reference Manual

Hide thumbs Also See for PDT 3200:
Table of Contents

Advertisement

Command
Type
Purpose
Copies a Þle or set of Þles to a speciÞed destination which could be on another disk,
or on another subdirectory on the current disk, or on a completely different drive.
COPY may also be used to alter the Þlename within the current directory. In
addition, this command can be used to direct communication between Þles and
devices (e.g., Þle contents to a printer, keypad input to a Þle).
Syntax
This command has several possible formats. The essential structure of each
command is:
COPY source target option
The source is the Òcopy fromÓ Þlespec or device, and the target is the Òcopy toÓ
Þlespec or device. Following are various conÞgurations of the COPY command
format.
COPY [ d: ][ path ] filename [ /option ] [ d: ][ path ] filename
[/ option ]
Where the Þrst Þlespec indicates the source Þle(s) to be copied and the second
Þlespec indicates the target area on which to copy.
COPY [ d: ][ path ] filename [ /option ] + [ d: ][ path ] filename
[ /option ] + ... [ d: ][ path ] filename [ /option ]
As shown, several source Þlespecs may be listed to be copied into the target
Þlespec which is listed last. The source Þles will be concatenated one after the other
into the target Þle.
COPY [ d: ][ path ] filename [ /option ] device
The target device is a console or printer (PRN).
COPY device [ d: ][ path ] filename [/ option ]
The device is the source such as a keyboard or console, the output of which will be
directed to the target Þlespec.

COPY

Internal
Chapter 5: ROM DOS Commands
5-27

Advertisement

Table of Contents
loading

Table of Contents