Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 47

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Model II
TRSDOS
COpy
Copy a File
This command copiesjile-l into the new file defined by file-2. If a disk name is
included in either file specification, TRSDOS will ensure that the appropriate
diskette is inserted before making the copy. This allows you to copy a file from one
diskette to another, using a single drive if necessary. For single-drive copies,
specify the same drive number for each file.
When you do not add the ABS (" absolutely' ') parameter, TRSDOS will not
overwrite an existing file that matches the specificationjile-2. Instead it will
prompt: "Existing file. Copy over it?
(Y/N/Q)".
Use the ABS option to overwrite
(destroy) an existing file without the prompt.
Normally, COpy uses memory below X'3000"; however, when copying from
one diskette to another in a single drive, it will use memory up to the start of
unprotected memory (see Memory Requirements).
The diskette name, ifused, must always be preceded by a drive specification;
otherwise it will be ignored.
Examples
COpy OlDFILE/BAS TO NEWFIlE/BAS
Copies OLDFILE/BAS into a new file named NEWFILE/BAS. TRSDOS will search
through all drives forOLDFILE/BAS, and will copy it onto the first diskette
which is not write-protected.
COPY NAMEFILE/TXT=0(DEPTC) TO NAMEFIlE/TXT:0(DEPTA)
This command specifies a one-drive copy from a diskette named DEPTC to
another diskette named DEPTA. TRSDOS will provide the necessary
prompting to accomplish the copy.
80

Advertisement

loading