batch command for removable drive letter assignment

T

Tom Del Rosso

I have a net drive letter that conflicts with some removable drives, and
changing the net drive is problematic.

Could there be a way to automate the reassignment of a local drive letter?
 
P

Pegasus

Tom Del Rosso said:
I have a net drive letter that conflicts with some removable drives, and
changing the net drive is problematic.

Could there be a way to automate the reassignment of a local drive letter?

Maybe USBDLM: http://www.uwe-sieber.de/usbdlm_e.html. From a strategic point
of view it is better to use the high letters of the alphabet for mapped
drives.
 
H

Harry

I have a net drive letter that conflicts with some removable drives, and
changing the net drive is problematic.

Could there be a way to automate the reassignment of a local drive letter?

Unless you have tons of removable drives to deal with,
using Disk Management should do you work.

I just tried with my USB key.
When I plugged it in, XP usually gives me F: as the drive letter.
Then I go to Computer Management | Disk Management
and change the drive letter from F: to G:.
Next time I plugged in my USB key, it stayed as G:.

If the Disk Manager does not do what you want, you may try
d/l the cmdline util diskpart.exe from Microsoft. Google for more
info.
 
F

frank.westlake

I have a net drive letter that conflicts with some removable drives, and
changing the net drive is problematic.

Could there be a way to automate the reassignment of a local drive letter?


Yes. Use %SystemRoot%\System32\mountvol.exe

The removeable drives leffer is stored in the registry and that can be
cleared with MountVol. MountVol can also be used to assign a specific
letter.Once you assign the letter you want it should stay that way
unless the letter is being used by another volume.

Frank
 
C

carlos

Yes. Use %SystemRoot%\System32\mountvol.exe

The removeable drives leffer is stored in the registry and that can be
cleared with MountVol. MountVol can also be used to assign a specific
letter.Once you assign the letter you want it should stay that way
unless the letter is being used by another volume.

Frank

I posted this script some time ago in a forum. Allows you to change
the letter of the removable drives.
I have translated the texts into English from Spanish.

http://sites.google.com/site/batchdownload/Home/driveletterchange.zip?attredirects=0

I hope it will be useful.
 
T

Tom Del Rosso

Pegasus said:
Maybe USBDLM: http://www.uwe-sieber.de/usbdlm_e.html. From a
strategic point of view it is better to use the high letters of the
alphabet for mapped drives.

Thanks. That looks promising. I always use high letters, but I inherited
this one. A lot of data files have links to other files and they have to
keep the old drive letter.

Thanks all.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top