home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
262.lha
/
ArpDoc_v1.3
/
Assign
< prev
next >
Wrap
Text File
|
1989-07-01
|
3KB
|
133 lines
Assign(V1.3) ARP User's Manual Assign(V1.3)
NAME
Assign - Binds a device name to a directory or file.
SYNOPSIS
Assign Name Dir Etc/... LIST/s EXISTS/s REMOVE/s
DESCRIPTION
Assign causes NAME: to be a synonym for a directory or a
pathname. This is referred to as a "logical" device, since
it appears to the Amiga and the user as a device, but is in
fact a directory. You can use this as a convenient shorthand
to refer to lengthy pathnames, or to refer to a variety of
different directories by the same name (just change the
assignment when you want the program to change directories).
You can remove assignments by giving only NAME:, or by
giving a single minus ('-') as the directory or device name.
EXAMPLE
ASSIGN DICTIONARY: df1:usr/lib/dictionary
DICTIONARY: may now be used as a synonym for the complete
path df1:usr/lib/dictionary. If a program uses the logical
device DICTIONARY: rather than a hardcoded directory name,
then changing the DICTIONARY: assignment will change the
dictionary that the program will use.
Assign allows a practically infinite number of assignments
or deletions to be made on one command line. You may remove
an assignment by using a minus '-' sign instead of a logical
directory or filename to subtract this assignment from the
device list.
OPTIONS
LIST Lists the current assignments. If you specify a single
already assigned name on the command line with LIST, it
will be removed from the device list.
EXISTS
Takes a logical device name as an argument. If the
name exists, the device name and its assignment are
displayed. If the name does not exist, then the
condition flag is set to WARN. This will cause an IF
WARN batch file statement to succeed.
REMOVE
Takes a logical device name as an argument, and removes
it from the device list. This is useful largely to
individuals writing handlers, careless use of this
option can easily crash the Amiga.
EXAMPLE
ASSIGN POOF: DF0: PUF: - DUF: - CRUFT: HD0:
Page 1 (printed 4/28/89)
Assign(V1.3) ARP User's Manual Assign(V1.3)
The above command line assigns POOF: to the disk in DF0:,
removes the assignments for PUF: and DUF: and assigns CRUFT:
to HD0:.
CAUTIONS
Random or careless assignments of the Amiga's pre-assigned
devices can cause mass confusion.
Random or careless use of the REMOVE option can cause a
GURU.
SEE ALSO
Execute
Page 2 (printed 4/28/89)