In need of a BAT file

Associate
Joined
12 Sep 2012
Posts
1,908
Location
East Sussex
Can some 1 help me create a .bat file to change the drive letter from E to R our external hdd needs to b R and we have them on rotation, and its a pain in the arse keep changing the drive letter every friday.

thanks in advance.
 
having a bit of an issue, can you tell me where im going wrong?

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 F DVD-ROM 0 B No Media
Volume 2 System Rese NTFS Partition 100 MB Healthy System
Volume 3 C NTFS Partition 115 GB Healthy Boot
Volume 4 E New Volume NTFS Partition 74 GB Healthy

DISKPART> remove LETTER=E

There is no volume selected.
Please select a volume and try again.
 
having a bit of an issue, can you tell me where im going wrong?

DISKPART> list volume

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 D DVD-ROM 0 B No Media
Volume 1 F DVD-ROM 0 B No Media
Volume 2 System Rese NTFS Partition 100 MB Healthy System
Volume 3 C NTFS Partition 115 GB Healthy Boot
Volume 4 E New Volume NTFS Partition 74 GB Healthy

DISKPART> remove LETTER=E

There is no volume selected.
Please select a volume and try again.

is it not?
select volume 4 < 4 = number
remove letter=E
assign letter = Z

you have to select it before removing it
 
Back
Top Bottom