Lock File - Atari DOS 2.5: XF551 Owner's Manual

Atari dos 2.5 disk drive
Table of Contents

Advertisement

F.
LOCK
FILE
Use this selection to write-protect a single file. A locked file can·
not be written
to,
appended
,
renamed
,
or
deleted.
An ERROR-
167 will result from trying to write to a locked file. You can use
wild cards to lock several files at the same time
.
A locked file will appear on the Disk Directory with an asterisk
(0)
preceding its name
.
Do
not
confuse this asterisk with a wild card
.
Warning
: If
you
lock any files on the Disk Directory and then
format the
diskette,
the locked files will still
be
obliterated.
Example
1: Locks the DOS .SVS file on Drive 1.
S ELECT
ITE~I
OR
1""
..
,,1
FOR "IEt1U
F
1""""'1
WHAT FILE
TO LOCK?
DOS
.
'3
"I
S
1
"""'"
1
Example 2:
Locks all files on Drive 1
with
an extender of .BAS
.
SELECT
ITE.1 OR
1 """"'1
FOR
"IEtKI
F
I
Ratu'Tl
]
WHAT FILE TO
LOCK'
D1
:
:':. BAS
[FIew'n]
Example
3: Locks
all
files
on
Drive 1 that begin with
T.
SELECT
!Tnl OR
I
"'~
I
FOR MEI1U
F
1""""
1
WHAT FILE TO LOCK?
T:.:.
*
I
~l
Example 4:
Locks all Drive 1
files.
SELECT
!TEt1
OR
1""""'1
FOR "IEHU
F
1
""""
1
WHA
T
FILE TO LOCK'
:.:
.
*
!
~
I
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xf551

Table of Contents