copy
ZXNet echo conference «zx.spectrum»
From Stas Filuta → To All 16 December 1997
Glad to see you, All!
How to copy a file from one floppy disk to another? And how to copy one floppy disk to another?
ps. in TR-DOS, of course. ;)
Stas Filuta *Aka* _FSA_ [ Team /Prodigy/ ]
Memento mori!
From Pavel Fedin → To All 21 December 1997
Hello, Stas Filuta! I remember, on December 16, 97 you took it and launched
in All with this:
SF> Glad to see you, All!
SF> How to copy a file from one floppy disk to another? And how
SF> copy one floppy disk to another?
SF> ps. in TR-DOS, of course. ;)
--cut---
Copying files.
There are 3 commands for copying files:
COPY - copying files with two drives COPY S - copying one
file with one drive COPY B - copying the entire disk with one drive
1. COPY command.
Command syntax:
COPY Here CODE - extension C Extension B can be indicated by an empty line. There are also exceptions, about which there will be separate comments. The comment, of course, may FILENAME FILE EXISTS If you answer Y, the file will be overwritten, otherwise copying 2. COPY S command. Syntax: COPY S Since one drive will be used, the command will 3. Command COPY B. Command syntax: COPY B[ The command, just like COPY S, will ask you to change disks. ---cut--- PS: You are strange people: everyone shouted “Give me a disassembler”, I gave it, but you don’t need it. :-( Bye, with a pack of vicious, Pavel Fedin.
They are ordinary string expressions.
The file extension is indicated by the keywords:
DATA - extension D
# - extension #
otherwise - extension B
be absent.
If you put asterisks instead of both file names, then all files will be
copied. Attention!!! There is an error in the subroutine.
If during copying on the destination disk there is a file with the same name
and extension as the one thatis being copied, the system will display a message
for example:
OVER WRITE?(Y/N)
continues from the next file.
ask you to change disks. SOURCE DISC is the source disk, DESTINATION DISC is the destination disk.
Attention!!! All old information on the destination disk will be erased, since
the command makes an absolute copy of the entire
used part of the disk track to track. The command only works on
the default disk drive.