which moves the file 'OldFile' from the CSD into the CSD's parent directory
and renames it 'NewFile'. You can never use wildcards in a *RENAME
command, because of the great scope for confusion (your files might end up
almost anywhere).
The *COPY command makes a copy of a file, or files, whilst retaining the
originals) where they were. The command is followed by the source filename
(which may contain wildcards) and then by the destination pathname (which
may not); it will not copy directories (because they may contain further
directories, and so on, and so on]. An example of copying is:
*COPY $.*$.Backup
which copies all the non-directory files in '$' into the directory '$.Backup', thus
making duplicates of the files.
*COPY uses as much shadow memory as is available to it during copying and
uses shadow memory in preference to main memory.
If you have two disc drives you can copy files from one to the other by including
the drive number in the pathnarne, e.g.:
*COPY :0.* :1
which copies all the (non-directory) files from the root on drive 0 to the root on
drive 1. This is not possible with a single drive because *COPY is unable to
prompt you to change discs. If you want to copy between discs on only one drive,
or if you want to copy whole directories (including any sub-directories they may
contain), you should use the 'DIRCOPY' utility which is in the library on the
Welcome disc.
Disc control commands
Because discs have only a finite, albeit fairly large, capacity for storing
information, the ADFS provides several commands to allow you to make the
most of your discs. The first such command, *FREE, tells you exactly how much
space is in use and how much is still free. If you type:
*FREE
the ADFS will respond with a table similar to this:
0006AA Sectors = 436,736 Bytes Free
000356 Sectors = 218,624 Bytes Used
The first figures are in hexadecimal, being the number of 256 byte sectors
currently either free or in use. Files are allocated space in multiples of whole
sectors depending on their size, whilst directories occupy five sectors.
F 18