How to Assign and Remove Drive Letter with Diskpart?

简介:

Windows OS users know that they have two amazing tools for managing the disks and partitions--Disk Management and Diskpart. The Disk Management tool in Windows gives you an easy-to-use graphical interface which can manage disk only with mouse-clicking. While Diskpart is a tool that you can manage your disk or partition on the command prompt quickly. To assign letter to drive, you can use both Disk Management and Diskpart. If you want to change the drive letter quickly, the Diskpart utility makes it easy.

Assign drive letter with CMD

To assign, change, or remove a drive letter, you can use the Windows interface of Disk Management, or use the command line on the prompt of Diskpart. How to assign drive letter with Diskpart?

Step1. To use a command line, you need to open the command line first. Click Start, type “cmd” at the search box and right click the program, select “Run as Administrator”, or press “WIN+R”, type “cmd” and press Enter. Then, type “diskpart” to start.

Step2. Type list volume and press Enter. Here you should know the number of the simple volume whose drive letter you want to assign, change, or remove.

List Volume

Step3. Select volume n and press Enter. Here you can select the volume whose drive letter you want to assign, change, or remove.

Select Volume

Step4. Then, if you want to assign or change the drive letter, type “assign letter=R”.

Assign Letter

If you want to remove the drive letter, type “remove letter=R”.

Remove Letter

Therefore, you have already assign, change, or remove a drive letter. And you can type list volume to see the details.

Actually, you may assign drive letter when you create a new one. For that, you need to create partition first. After create partition, type “assign letter=?” to that partition. Or, if there is some volume hidden, it will not have the drive letter, to unhide it, you need to assign a drive letter for it. Thus, Diskpart may have a little bit complex. Fortunately, there is another easier and simpler way, which could save a lot of steps.

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1856851如需转载请自行联系原作者


520feng2007

相关文章
|
9月前
|
Docker 容器
devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free dat
devmapper: Thin Pool has 162394 free data blocks which is less than minimum required 163840 free dat
87 0
|
前端开发 5G
Search space set group switching(一)
根据R17 38.300的描述,UE可以通过PDCCH monitoring adaptation机制实现power saving的目的,这其中就包括PDCCH monitoring skipping和search space set group (SSSG) switching两种机制。PDCCH monitoring skipping是R17才提出的机制,就是UE 可以在PDCCH skipping的时间内不监视 PDCCH的功能;search space set group (SSSG) switching R16提出,R17进行了部分增强。
|
编解码 算法 测试技术
[译]Page Multiplexing and Ordering in a Physical Ogg Stream
Ogg容器格式的设计和排列受几个高级设计决策支配,这些决策构成了特定的低级设计决策的依据。
103 0
SAP WM Storage Type Capacity Check Method 5 (Usage check based on SUT)
SAP WM Storage Type Capacity Check Method 5 (Usage check based on SUT)
SAP WM Storage Type Capacity Check Method 5 (Usage check based on SUT)
Partition 1 does not start on physical sector boundary
Partition 1 does not start on physical sector boundary
956 0
Partition 1 does not start on physical sector boundary
|
Docker 容器
Template parsing error: template: :1:2: executing at <Volumes>: map has no entry for key "Volume
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_34173549/article/details/80400454 报错: [root@ops-ip-statistic ~]# docker inspect -f {{.
2380 0