MountVol windows command helps you to create, delete and list mount points.
You can use Mountvol windows command to manage mount points without using a drive letter.
Syntax
MountVol Parameters
Parameters
path | Specifies the existing NTFS directory where the mount point will reside. |
VolumeName | Specifies the volume name that is the target of the mount point. |
/D | Removes the volume mount point from the specified directory. |
/L | Lists the mounted volume name for the specified directory. |
/P | Removes the volume mount point from the specified directory, dismounts the volume, and makes the volume not mountable. You can make the volume mount point.mountable again by creating a volume |
/R | Removes volume mount point directories and registry settings for volumes that are no longer in the system. |
/N | Disables automatic mounting of new volumes. |
/E | Re-enables automatic mounting of new volumes. |
- If you need to expand your volume space without reformatting or replacing a hard drive, you can add a mount path to another volume.
- If you are running out of drive letters to use, mount your local volumes with no drive letters.
- The benefit is that if you use one volume with several mount paths, you can access all local volumes using a single drive letter (such as C:). You need not remember which volume corresponds to which drive letter, although you can mount local volumes and still have them assigned to drive letters.
Example
Command to list mounted volume.
Mountvol c: /L
Below is a command to disable automatic mounting.
MountVol/n
Below is a command to Re-enables automatic mounting.
MountVol /e