How to Change Volume Label using CMD in Windows 10, 8, 7

How to Change Volume Label using CMD in Windows 10, 8, 7

How to Change Volume Label using CMD in Windows 10, 8, 7

Geeks - To change the volume label of a drive using the Command Prompt in Windows 10, 8, or 7, follow these steps:


Open the Command Prompt. To do this, type "cmd" in the search box on the taskbar, and then click on the Command Prompt app in the search results.


Type the following command and press Enter:


Copy code

diskutil rename /dev/disk# volume_label

Replace "disk#" with the number of the disk you want to change the label of, and replace "volume_label" with the new label you want to give the volume. For example, if you want to change the label of disk 0 to "MyVolume," you would type the following command:

Copy code

diskutil rename /dev/disk0 MyVolume

The volume label will be changed to the new value you specified. You can verify this by typing the following command and pressing Enter:

Copy code

diskutil info /dev/disk#

Replace "disk#" with the number of the disk you want to check the label of. The volume label will be displayed in the output. For example, if you want to check the label of disk 0, you would type the following command:

Copy code

diskutil info /dev/disk0

That's it! You have successfully changed the volume label of a drive using the Command Prompt in Windows 10, 8, or 7.





Previous Post Next Post