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 and are the old and new names of the copied file.
They are ordinary string expressions.
The file extension is indicated by the keywords:

CODE - extension C
DATA - extension D
# - extension #
otherwise - extension B

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
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:

FILENAME FILE EXISTS
OVER WRITE?(Y/N)

If you answer Y, the file will be overwritten, otherwise copying
continues from the next file.

2. COPY S command.

Syntax:

COPY S[]

Since one drive will be used, the command will
ask you to change disks. SOURCE DISC is the source disk, DESTINATION DISC is the destination disk.

3. Command COPY B.

Command syntax:

COPY B[]

The command, just like COPY S, will ask you to change disks.
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.

---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.