Home > Commands A-M > Commands M

MOUNTVOL


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Create, delete or list a volume mount point.


Syntax

MOUNTVOL /?

MOUNTVOL [drive:]path [Volname]

MOUNTVOL [drive:]path [/D]

MOUNTVOL /E

MOUNTVOL [drive:]path [/L]

MOUNTVOL /N

MOUNTVOL [drive:]path [/P]

MOUNTVOL /R

MOUNTVOL [drive:] [/S]


Parameters
drive: (NT2000)
Drive to mount.
path (NT2000)
Path to mount.

Switches
/? (NTXP)
Displays help.
/D (NT2000)
Remove the volume mount point from the specified folder.
/E (NT2003)
Re-enables automatic mounting of new basic volumes.
/L (NT2000)
List the mounted volume name for the specified folder.
/N (NT2003)
Disables automatic mounting of new basic volumes. New volumes are not mounted automatically when added to the system.
/P (NT2003)
Removes 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, closes any open handles before dismounting the volume. Volumes dismounted using /p are listed in the volumes list as NOT MOUNTED UNTIL A VOLUME MOUNT POINT IS CREATED. If the 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.
/R (NT2003)
Removes volume mount point directories and registry settings for volumes that are no longer in the system. Prevents volumes that were previously in the system from being automatically mounted and given their former volume mount point(s) when added back to the system.
/S (NTXP)
Itanium-based computers only. Mounts the EFI System Partition on the specified drive.
Volname (NT2000)
The volume name that is the target of the mount point. The volume name form \\?\Volume{GUID}\, where {GUID} is a globally unique identifier (GUID).

Related

WINDISK - NT Disk Administrator.
Equivalent Linux BASH commands:
mount - Mount a file system.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT2000 NTXP NT2003

Last Updated: 2003/07/28
Direct corrections or suggestions to: Rick Lively