How do I set a pathname to an available IIGS prefix and how do I use that numeric prefix to access that path? I'm trying to do this within the text shell environment in ORCA.
Can this be done within that environment, or must it be done perhaps in ProDOS 8. What is/are the commands to do so.
Microsoft CoPilot suggests...
PREFIX #1, "/MYDIRECTORY" to set a prefix
LOAD #1, "MYFILE" to access a file in that directory
I thought the idea of prefixes was to be able to navigate to a long path name by simply typing in something like 'prefix (the number of the prefix)' to avoid needing to type
long pathnames.
Using the CoPilot approach above resutls in "Unknown parameters on line" error message. Does anyone know how to both set an available prefix number to a pathname and what the syntax is to access that pathname using a prefix number?
The prefix command in ProDOS just sets the default path. It is followed by the desired path like PREFIX /MYDIR. All commands after that work on the specified directory.
The path can also be set using slot and drive numbers like DOS 3.3. Such as PREFIX, S7,D1.
The solution to the how to set and use a IIGS prefix problem is in the attached file.