Here's the paramters I gave to google
windows change drive letter command line
3rd and 4th entries look good.
--
Siggy played guitar
Oops perhaps I changed them
it's Diskpart
http://support.microsoft.com/kb/300415
or by vbscript
http://msdn.microsoft.com/en-us/library/aa364014(VS.85).aspx
--
Siggy played guitar
Mountvol.exe
Thanks.
"Esra Sdrawkcab" <ad...@127.0.0.1> wrote in message news:op.ut900r14hswpfo@dell3100...
Drive letters are set in the registry. You can do what you want if you can
find a registry editor that works in DOS. Perhaps regedit.exe from Win9x
might do the trick.
A better way might be to create a batch file that executes at boot time. It
would perform the following tasks:
1. Check if the drive letters are correct.
2. Modify the registry if necessary.
3. Reboot the machine.
>I mean with a boot disk, not from within Windows.
>Booting to DOS and changing it from there.
DOS selects the drive letters by itself in a sequence: primary partitions
followed by secondary partitions.
I've never tried changing them but I believe it is the BIOS that hands off
the partition info to DOS.
Windows stores a drive letter information on the drive somewhere but you
can clone the drive letter information from one disk to another using
XXClone - the free version will copy the drive volume info across to
another drive: "Duplicate Vol ID" is the option under "Cool Tools".
I doubt Windows will survive intact from a drive letter change - drive
letters are all over the registry and in INI and configuration files on the
disk.
Windows drive letter information is stored here: HKLM\SYSTEM\MountedDevices.
> "Esra Sdrawkcab" <ad...@127.0.0.1> wrote in message
> news:op.ut900r14hswpfo@dell3100...
>> On Thu, 21 May 2009 12:00:02 +0100, Esra Sdrawkcab <ad...@127.0.0.1>
>> wrote:
>>
>>> On Thu, 21 May 2009 11:41:17 +0100, ju.c
>>> <bibidybu...@mailinator.com> wrote:
>>>
>>>> Is there a utility to change a Windows partition's
>>>> drive letter? I've been searching for a long time.
>>>> Thanks.
>>>>
>>> Here's the paramters I gave to google
>>>
>>> windows change drive letter command line
>>>
>>> 3rd and 4th entries look good.
>>>
>> Oops perhaps I changed them it's Diskpart
>> http://support.microsoft.com/kb/300415
>> or by vbscript
>> http://msdn.microsoft.com/en-us/library/aa364014(VS.85).aspx
(Order restored)
> I mean with a boot disk, not from within Windows.
> Booting to DOS and changing it from there.
> Can I run Diskpart in DOS?
> Did I post to the wrong group?
>
> Thanks.
DOS assigns letters in a fixed manner. IIRC.
if your PC has NT or XP, it's On Topic here - my guess is that the disk letter assignment is in the registry; Just checked -
it's in
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
but I don't think you can run regedit in DOS; nor reg.exe
you might be able to construct a .reg file to load at XP boot time, but how would you determine the diskid strings?
--
Siggy played guitar
>
>"foxidrive" <got...@woohoo.invalid> wrote in message
>> Windows stores a drive letter information on the drive somewhere
>
>Windows drive letter information is stored here: HKLM\SYSTEM\MountedDevices.
Thanks.
> Is there a utility to change a Windows partition's drive letter? I've been
> searching for a long time. Thanks.
The effort to write a batch file to do it is probably greater than the
standard Windows approach. Since it's a one-off, I don't see any need for
a batch file. What are you really trying to accomplish?
--
T.E.D. (tda...@mst.edu) MST (Missouri University of Science and Technology)
used to be UMR (University of Missouri - Rolla).
> With mountvol.
> I make this script.
[script snipped]
unfortunately the OP posted over in AMB that he desires to change the drive letter after booting to (I assume) Real DOS from a (an?) USB pen drive.
I've tried explaining that you can't see NTFS drives from real DOS, and if the target machine boots to real DOS can't change drive letters at all.
--
Siggy played guitar