CmdID

CmdID / Commands

mountvol

Creates, deletes, or lists a volume mount point. Windows commands reference

On Windows File mountvol.exe

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Creates, deletes, or lists a volume mount point. You can also link volumes without requiring a drive letter. - If you dismount your volume while using the /p parameter, the volume list will show the volume as not mounted until a volume mount point is created. - If your volume has more than one mount point, use /d to remove the additional mount points before using /p. You can make the basic volume mountable again by assigning a volume mount point. - If you need to expand your volume space without reformatting or replacing a hard drive, you can add a mount path to another volume. The benefit of using one volume with several mount paths is that you can access all local volumes by using a single drive letter (such as C:). You don't need to remember which volume corresponds to which drive letter—although you can still mount local volumes and assign them drive letters.

mountvol [<drive>:]<path volumename>
mountvol [<drive>:]<path> /d
mountvol [<drive>:]<path> /l
mountvol [<drive>:]<path> /p
mountvol /r
mountvol [/n|/e]
mountvol <drive>: /s

To create a mount point, type

mountvol \sysmount \\?\volume\{2eca078d-5cbc-43d3-aff8-7e8511f60d0e}\Identify
[<drive>:]<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. The volume name uses the following syntax, where GUID is a globally unique identifier: \\?\volume\{GUID}\. The brackets { } are required.
/dRemoves the volume mount point from the specified folder.
/lLists the mounted volume name for the specified folder.
/pRemoves the volume mount point from the specified directory, dismounts the basic volume, and takes the basic volume offline, making it unmountable. If other processes are using the volume, mountvol closes any open handles before dismounting the volume.
/rRemoves volume mount point directories and registry settings for volumes that are no longer in the system, preventing them from being automatically mounted and given their former volume mount point(s) when added back to the system.
/nDisables automatic mounting of new basic volumes. New volumes are not mounted automatically when added to the system.
/eRe-enables automatic mounting of new basic volumes.
/sMounts the EFI system partition on the specified drive.
/?Displays help at the command prompt.