Import New drives using VB script or command line

  • Thread starter Thread starter Dali Islam
  • Start date Start date
D

Dali Islam

How can I import a foreign disk and then find out what
dive letter it get initially when I import the drive and
then I need change that drive letter to "D".

Here is the scenario: After I put a second hard drive on a
PC, it comes up as foriegn disk and associate with the
next available drive letter, which in my case is "N"
or "M" it might change(who knows). Now I need to change
the drive letter of this new drive to "D".
 
Open diskmgmt.msc. From within there, you can change drive letters. If D
is already taken, you have to change that drive first. Like, if you want to
switch two drive letters, it's a three step process.

To change D to Q and Q to D, where X is an unused letter:

1. Change D to X
2. Change Q to D
3. Change X to Q

Ray at work
 
Dali Islam said:
How can I import a foreign disk and then find out what
dive letter it get initially when I import the drive and
then I need change that drive letter to "D".

Here is the scenario: After I put a second hard drive on a
PC, it comes up as foriegn disk and associate with the
next available drive letter, which in my case is "N"
or "M" it might change(who knows). Now I need to change
the drive letter of this new drive to "D".


You may be able to do this from the command line with 'mountvol'
DOS -> mountvol /?
 
-----Original Message-----
Open diskmgmt.msc. From within there, you can change drive letters. If D
is already taken, you have to change that drive first. Like, if you want to
switch two drive letters, it's a three step process.

To change D to Q and Q to D, where X is an unused letter:

1. Change D to X
2. Change Q to D
3. Change X to Q

Ray at work




.
Thanks, Ray. I know how to do this from the computer
management, I need to do the same from command line or
using vb script.

Tom advised me to try mountvol, but mountvol do not have
the option to import a new drive. First when I put a new
drive in the system and boot the system, the new drive is
seen as foriegn drive and I need to import that and then
assign a drive letter to it.
 
Back
Top