Shortcut to Disk Management

  • Thread starter Thread starter Rick Altman
  • Start date Start date
R

Rick Altman

I have a regular need to remove and reassign a drive letter to a volume in
my system and I would like to know if the Disk Management function within
the Computer Management console has a command line interface (so that I can
write a batch file) or if a VBA script could automate a procedure whereby I
assisn and unassign a specific drive letter to a particular volume.

Any input would be appreciated...





--
Rick A.
Pleasanton CA
 
Rick Altman wrote:
> I have a regular need to remove and reassign a drive letter to a volume in
> my system and I would like to know if the Disk Management function within
> the Computer Management console has a command line interface (so that I can
> write a batch file) or if a VBA script could automate a procedure whereby I
> assisn and unassign a specific drive letter to a particular volume.
>


There are the commandline tool diskpart and mountvol.
It's hard to script something around to change drive
letter.
My tool ReMount makes it easy.

http://www.uwe-sieber.de/files/remount.zip

Sample to change X: to Y:

remount x: y:
or short
remount x y


Uwe
 
Thank you very much for that, Uwe. Can ReMount also *unmount*? Can I use
this tool to remove a drive designation altogether?




"Uwe Sieber" <mail@uwe-sieber.de> wrote in message
news:5sqe0hF1a9an6U1@mid.individual.net...
> Rick Altman wrote:
>> I have a regular need to remove and reassign a drive letter to a volume
>> in my system and I would like to know if the Disk Management function
>> within the Computer Management console has a command line interface (so
>> that I can write a batch file) or if a VBA script could automate a
>> procedure whereby I assisn and unassign a specific drive letter to a
>> particular volume.
>>

>
> There are the commandline tool diskpart and mountvol.
> It's hard to script something around to change drive
> letter.
> My tool ReMount makes it easy.
>
> http://www.uwe-sieber.de/files/remount.zip
>
> Sample to change X: to Y:
>
> remount x: y:
> or short
> remount x y
>
>
> Uwe
 
No but for this purpose you can use mountvol which
comes with XP:

mountvol X: /D


Uwe



Rick Altman wrote:
> Thank you very much for that, Uwe. Can ReMount also *unmount*? Can I use
> this tool to remove a drive designation altogether?
>
>
>
>
> "Uwe Sieber" <mail@uwe-sieber.de> wrote in message
> news:5sqe0hF1a9an6U1@mid.individual.net...
>> Rick Altman wrote:
>>> I have a regular need to remove and reassign a drive letter to a volume
>>> in my system and I would like to know if the Disk Management function
>>> within the Computer Management console has a command line interface (so
>>> that I can write a batch file) or if a VBA script could automate a
>>> procedure whereby I assisn and unassign a specific drive letter to a
>>> particular volume.
>>>

>> There are the commandline tool diskpart and mountvol.
>> It's hard to script something around to change drive
>> letter.
>> My tool ReMount makes it easy.
>>
>> http://www.uwe-sieber.de/files/remount.zip
>>
>> Sample to change X: to Y:
>>
>> remount x: y:
>> or short
>> remount x y
>>
>>
>> Uwe

>
>
 
Back
Top