

Specifies an empty, existing NTFS folder where the mounted drive will reside. In addition, you cannot assign a drive letter to an Original Equipment Manufacturer (OEM) partition, EFI system partition, or any GPT partition other than a basic data partition. You cannot assign drive letters to boot volumes, or volumes that contain the paging file.

Using the assign command, you can change the drive letter associated with a removable drive. If the drive letter or mount-point folder path is already in use, an error is generated. If no drive letter or mount-point folder path is specified, then the next available drive letter is assigned. On a basic disk, selecting a volume also gives the corresponding partition focus.Īssigns a drive letter or mount-point folder path to the volume with focus. He wrote more than 7k+ posts and helped numerous. About the author: Vivek Gite is the founder of nixCraft, the oldest running blog about Linux and open source. To mount cdrom type: mountcd9660 /dev/cd0 /media/cdrom.

You can specify the volume by number, drive letter, or mount-point folder path. First, use mkdir command to create /media/cdrom directory: mkdir -p /media/cdrom. If no volume is specified, the select command lists the current volume with focus. Selects the specified volume, where volumenumber is the volume number, and gives it focus. ĭisplays a list of basic and dynamic volumes on all disks. Select the simple volume volumenumber that you want to assign the path to.Īt the DISKPART prompt, type assign. Make note of the volume number you want to assign the path to elsewhere.Īt the DISKPART prompt, type select volume. To assign a mount-point folder path to a drive using a command lineĪt the DISKPART prompt, type list volume.
