Important: The information in this document is obsolete and should not be used for new development.
Using the File Manager
You can use the File Manager to manipulate files, directories, and volumes. The chapter "Introduction to File Management" in this book shows how to use the File Manager and other system software services to accomplish the most common file-related operations (that is, handling the typical File menu commands). This section shows how to accomplish a variety of other operations on files, directories, and volumes. In particular, this section shows how to
Altogether, the code listings given in this section provide a rich source of information about using the many File Manager routines and data structures.
- determine the available features of the File Manager
- determine the characteristics of a particular mounted volume
- create file system specification records
- manipulate the default volume and directory
- delete files and file forks
- search a volume for files or directories matching various criteria
- construct the full pathname of a file
- determine the amount of free space on a volume
- lock and unlock byte ranges in shared files
Subtopics
- Determining the Features of the File Manager
- Creating File System Specification Records
- Manipulating the Default Volume and Directory
- Deleting Files and File Forks
- Searching a Volume
- Constructing Full Pathnames
- Determining the Amount of Free Space on a Volume
- Sharing Volumes and Directories
- Locking and Unlocking File Ranges