User`s guide

______________________________
From: Rubywand and David Empson
032- What is the default volume and folder (directory)
when ProDOS boots?
When ProDOS boots, it will assume that LOADs, SAVEs, etc. refer to the main
directory of whatever volume is in the boot Slot and Drive. It does not
automatically establish a default volume or folder by name.
So long as no default volume name is set, references to disks by Slot
and/or Drive (e.g. CAT,S6,D2) will set the default device (by Slot and Drive)
much as happens with similar commands entered from the keyboard under DOS 3.3.
______________________________
033- How can I set default volume and folder (directory)
under ProDOS?
The ProDOS PREFIX command followed by a pathname lets you set the default
volume and folder (or directory) by name-- i.e. you set the default pathname
prefix. For example,
PREFIX /NARF
or, in a BASIC program
100 PRINT CHR$(4)"PREFIX /NARF"
tells your computer to find the ProDOS volume (e.g. disk, hard disk partition,
etc.) named "NARF" and, once it is found, set the current default directory to
/NARF/-- i.e. the main or "root" directory of the volume named "NARF". From then
on, commands like CAT, RUN GRAFIX, BLOAD STARTPIC, etc. automatically reference
/NARF's main directory.
If you enter CAT PAINTERS/, ProDOS will go to the PAINTERS/ folder on /NARF
and display a CATALOG of the folder's contents.
If you move your /NARF diskette to a different drive and do a CAT, ProDOS
will scan your drives to find /NARF and do the CAT. If you remove /NARF
completely and do a CAT, ProDOS will say there is a "PATH NOT FOUND" error.
Naturally, you can set the default prefix to a specific folder. For
example,
PREFIX /NARF/EAMON/
or, in a BASIC program
100 PRINT CHR$(4)"PREFIX /NARF/EAMON/"
sets the volume (/NARF/) plus folder (EAMON/) as the new default prefix. A
program running in that folder can BLOAD picture, etc. files and RUN games in