S TAT provides some of
the
basic functions of
SET
and S
HOW.
The commands:
STAT
STAT
A:
STAT
B:
....
display disc
status
and free space.
The commands:
STAT
*.COM
STAT
DISC.BAS
....
display extended directory information about a particular file.
The commands:
STAT
*.COM
$R/O
STAT
DISC.BAS $R/O
.... set a file to a Read/Only status,
so
that
it
cannot be accidentally erased or
overwritten.
The commands:
STAT
*.COM
$R/W
STAT
DISC.BAS
$R/W
....
set a file to ReadIWrite status, reversing
the
Read/Only assignment.
The commands:
STAT
*.COM
$SYS
STAT
SECRET.BAS
$SYS
....
set a file to 'System'
status
so
that
it
is invisible to directory listings and file
copying programs. The file will still be available for all other purposes.
The commands:
STAT
*.COM
$DIR
STAT
SECRET.BAS
$DIR
....
set a file to 'Directory' status, reversing
the
'System' assignment.
The utility F I
LEe 0 P Y allows you to copy files from one disc to another using a
single drive.
It
copes with disc changing and gives full instructions on
the
screen. If a
wild-card filename is specified
then
F I LEe 0 P Y asks you to confirm
that
you indeed
wish to copy each file on
an
individual basis. The program informs you of each
filename as each file is copied.
Chapter 6 Page
34
AMSDOS
and
CPIM