GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing ss64.com — Mountvol - Mount Volume command - Windows CMD MOUNTVOL.exeCreate, delete or list a volume mount point. Link volumes without requiring a drive letter. Syntax
MOUNTVOL [drive:]path VolumeName
MOUNTVOL [drive:]path /D
MOUNTVOL [drive:]path /L
MOUNTVOL [drive:]path /p
MOUNTVOL /R
MOUNTVOL [/N | /E]
MOUNTVOL drive: /S
Options
path : An existing NTFS folder where the mount point will reside.
VolumeName : The volume name that is the target of the mount point.
In the form \\?\Volume{GUID}\, where {GUID} is a globally unique identifier
e.g. \\?\Volume\{2eca078d-5cbc-43d3-aff8-7e8511f60d0e}\
/D : Remove the volume mount point from the specified folder.
/E : Re-enable automatic mounting of new basic volumes.
/L : List the mounted volume Name/GUID for the specified drive/mount point.
/S : Itanium-based computers only. Mount the EFI System Partition on the specified drive.
/p : Remove the volume mount point from the specified directory,
dismount the basic volume, and take the basic volume offline,
making it unmountable.
/R : Remove volume mount point directories and registry settings for
volumes that are no longer in the system,this prevents them from
being automatically mounted and given their former volume mount
point(s) when added back to the system.
/N : Disable automatic mounting of new basic volumes.
New volumes are not mounted automatically when added to the system.
The GUID is used to identify a unique volume even if the drive letter changes. If other processes are using the volume, mountvol closes any open handles before dismounting the volume. Volumes that are dismounted by using /p are listed in the volumes list as "NOT MOUNTED UNTIL A VOLUME MOUNT POINT IS CREATED." 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 do not need to remember which volume corresponds to which drive letter—although you can still mount local volumes and assign them drive letters. When using junction points: ExamplesList a brief help text followed by a list of the volumes, mount points and GUIDs on your system:
List the volume GUID for the C: drive on your system:
Create a mount point called ss64:
Delete the mount point:
Mount an ISO image and create a mount point Z: run this from an elevated PowerShell session:
Mount an ISO image and create a mount point on a local directory "C:\Temp\ISO", this can be useful if you expect to run out of drive letters, again run this from an elevated PowerShell session:
Dismount:
“The shortest and surest way of arriving at real knowledge is to unlearn the lessons we have been taught, to mount the first principles, and take nobody’s word about them” ~ Henry Bolingbroke Related commandsMKLINK - Create a symbolic link (linkd). Copyright © 1999-2026 SS64.com
Some rights reserved |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |