Mounted Folders

The NTFS file system supports mounted folders. A mounted folder is an association between a volume and a directory on another volume. When a mounted folder is created, users and applications can access the target volume either by using the path to the mounted folder or by using the volume's drive letter. For example, a user can create a mounted folder to associate drive D: with the C:\Mnt\DDrive folder on drive C. After creating the mounted folder, the user can use the "C:\Mnt\DDrive" path to access drive D: as if it were a folder on drive C:.

Using mounted folders, you can unify disparate file systems such as the NTFS file system, a 16-bit FAT file system, and an ISO-9660 file system on a CD-ROM drive into one logical file system on a single NTFS volume. Neither users nor applications need information about the target volume on which a specific file is located. All the information they need to locate a specified file is a complete path using a mounted folder on the NTFS volume. Volumes can be rearranged, substituted, or subdivided into many volumes without users or applications needing to change settings.

For information on mounted folders, see the following topics.

In this section

Topic Description
Creating Mounted Folders
Creating a mounted folder is a two-step process.
Enumerating Mounted Folders
Functions to use to enumerate mounted folders on a volume.
Determining Whether a Directory Is a Mounted Folder
How to determine whether a specified directory is a mounted folder.
Assigning a Drive Letter to a Volume
You can assign a drive letter (for example, X:) to a local volume by using the SetVolumeMountPoint function, provided there is no volume already assigned to that drive letter.
Mounted Folder Functions
Functions used to manage mounted folders.

For examples, see Mounted Folder Examples.