Examples of APPLEPATH:
setenv APPLEPATH (insert path)
or
set APPLEPATH=/nfs/(insert your path) export APPLEPATH
You can now launch MAE with the -rebuild command line option to rebuild the desktop database if the database becomes corrupted or is deleted. Starting MAE with the -rebuild command line option, while the environment variable is set as shown above, adds to the Desktop database all the application file information contained in the applications directory and its subdirectories. This information stays in the Desktop database until the next Desktop rebuild. Once the Desktop database is rebuilt, the APPLEPATH variable can now be deleted.
Unlike the UNIX variable named PATH, APPLEPATH can specify only a single path. Also, APPLEPATH must specify a complete pathname; that is, expressions such as a period (.) and ~/applications will not work.
If new applications are added later to the directory specified in APPLEPATH, they will not be automatically updated in the Desktop database. They will be added only after the user opens the folder manually or restarts MAE with the -rebuild option.
Building the Desktop database with the entire file system (for example, by specifying APPLEPATH='/') may take a long time, depending on the size of local and remotely mounted file systems.