Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I set default volume and folder (directory) under ProDOS?

0
10 Posted

How can I set default volume and folder (directory) under ProDOS?

0
10

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 exa

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123