Atari DOS 2.5: XF551 Owner's Manual page 50

Atari dos 2.5 disk drive
Table of Contents

Advertisement

ILLEGAL:
TE
S
T
.
:':~
t~
E ~J
TE
ST?,
t~
EW
TEST
:':
.??I,TEST3
.
??2
Note that it is
legal
to
use
more wild cards in the NEW filename
than in the OLD name
;
in such a
case,
the filename characters
are copied from the OLD
name
unchanged
.
Thus the last legal
examples shown above would both produce
the
same result as
entering
TEST3.DAT,FILE
3.DAT.
Remember that
every file on a given diskette should have a
unique
filename.
If
you rename a single file without
using
any
wildcards,
DOS 2.5 allows you
to
give it any valid
filename,
in-
cluding a
name
already assigned to a file on the same diskette
.
Then
,
if you try to work with one of the two files (for example
,
to
delete
it,
lock
it
,
etc.)
DOS
will act on both
files. However,
DOS
2.5 offers you a solution to this problem
.
If
you find that you have
two files with
the
same filename on one diskette
,
use the
RE-
NAME FILE
option without any wild cards
in
either the OLD or
NEW
filename -
DOS
2.5 will rename only the first file it finds
that
matches
the OLD NAME you
have
specified
.
(See also the
DISKFIX.COM
section
,
Rename File By
#,
in Appendix L.)
If you attempt to rename a file on a write-protected
diskette,
an
ERROR-144 (Device
Done Error)
will appear on
the
screen
.
If you
try
to rename
a
file that is not
on the
diskette,
an
ERROR-HO
(File Not Found) appears
.
If the screen displays
ERROR-IS?,
it
means that you tried to
rename
a
locked
file (see
F.
,
LOCK
FILE).
Example 1:
Changes the
file
on
Drive
2 from
TEMP.DAT
to
NAMES.DAT.
SELECT ITEI'I OR
1
-..
1
FOR l'IEl1U
E
1
-..
1
RE NAI'IE
-
GlUE OLD NAI'IE. fjEI·j
D2
'
TE I1P. DAT. NAI'IES
.
DAT
1
-..
1
Example
2:
All files on
Drive 1
with extender BKB
have
their
extenders changed to
.BAS
SELECT
ITnl
OR
1
-..
1
FO
R MEtjU
E
1
-..
1
REN AME
-
GlUE
OL
D
NAME. NEW
:.:
.
8KB,
:.:
.
BAS
[
FEtlrn
)
40

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xf551

Table of Contents