EasyManua.ls Logo

Radio Shack TRS-80 Model 4 - Page 54

Radio Shack TRS-80 Model 4
418 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
COpy
Command
COpy
source [TO] destination [(parameters)]
Copies the source
to
the destination.
Source and destination can be a filespec or a devspec. Destination
can also be a drive number.
The parameters are:
LRL
= nnn specifies the logical record length
(1
to 256) for
destination.
If
omitted, destination will have the same LRL
as
source.
CLONE
=
NO
specifies that destination is not
to
have the
attributes of source.
ECHO causes any character copied from a devspec to be printed
on
the screen.
X allows a single drive copy.
The LRL parameter lets you restructure files
to
make them compatible
with other programs.
It
is
also useful when converting a source file
from one format
to
another.
If
you wish to append two files with different LRLs, this parameter can
be used to make the LRLs match. If LRL
is
not specified, it defaults
to
the LRL of source.
If
CLONE
is
not specified, the directory entry as well as the contents
of source copies
to
destination. The owner and user passwords are
copied, along with the assigned protection level, the visibility
in
the
directory, the create flag, the last written-to date, and the modified
status of the file.
If
CLONE =NO is specified, the system date becomes the last
written-to date for the destination file. If
an
existing destination file
was copied over, the attributes of the destination file (except for the
date) are unchanged. If the
COpy
command creates a new file, any
password included becomes both the user and owner password of the
destination file and the file's Mod Flag is set. The destination file is
visible, even if the source file was invisible. See the ATTRIB library
command for more information
on
file attributes.
Examples
COPY
TEST/OAT
TO
:1
(ENTER)
searches the disk drives to find TEST/OAT and copies it to Drive
1.
COPY
TEST/DAT.PASSWORD:0
TO
:1
(ENTER)
copies the protected file TEST/DAT.PASSWORD from Drive ato
1-49

Other manuals for Radio Shack TRS-80 Model 4

Related product manuals