User`s guide
that folder without worrying about the names of the volume and folder in which
your Eamon stuff is located.
If you know that the EAMON folder is in the currently active directory, you
can use
PREFIX EAMON/
or, in a BASIC program
100 PRINT CHR$(4)"PREFIX EAMON/"
to set the folder as the default location without having to specify volume name.
If the current default is /NARF/, the command will result in the new default
being /NARF/EAMON/. If the current default is /NARF/GAMES/, the new default will
be /NARF/GAMES/EAMON/.
If there is no default path at the time the command is executed, ProDOS will
read the volume name, check for the EAMON/ folder, and add "EAMON/" to create
the complete default pathname prefix.
Setting a default pathname prefix does not prevent using commands which
specify other locations. For instance
CAT /PICS/BOXES/
will look for the BOXES/ folder on the volume /PICS/ and do a CAT.
To clear (eliminate) the default pathname prefix, use
PREFIX/ ("PREFIX" followed by a "/")
______________________________
From: Rubywand
034- How can I discover the volume name of a just booted
disk?
You can discover the name of a ProDOS volume in a drive by doing a CAT. The
volume name will be shown at the top of the screen listing (e.g. "/NARF/").
Another way-- one which works in programs as well as from the keyboard-- is
to use the PREFIX command:
PREFIX
This command will normally return one of two results:
o- If there is an established default prefix, then, the result will be the
current default prefix.