in reply to Re: How to change the drive letter for a CD/DVD drive on Windows?
in thread How to change the drive letter for a CD/DVD drive on Windows <b>Update: with a script</b>?
Thank you for your reply.
That wont do the trick. It has to be permanent.
There are reboots in the other script.
And is the "Policy" so I hoped there is an automatic way ...
<Update> Maybe i could find the registry keys and parse them to see if it is a hard drive or an optical drive, so i dont change accidently the hard-drives letter which could be fatal ...
I think i found the registry key (it is already changed to Driveletter R in the example:)
(HKLM\SYSTEM\MountedDevices):
In cleartext it reads:"\\DosDevices\\R:"=hex:5c,00,3f,00,3f,00,5c,00,49,00,44,00,45,00,23,00 +,43,00,\ 64,00,52,00,6f,00,6d,00,54,00,53,00,53,00,54,00,63,00,6f,00,72,00,70 +,00,5f,\ 00,43,00,44,00,44,00,56,00,44,00,57,00,5f,00,54,00,53,00,2d,00,48,00 +,36,00,\ 35,00,33,00,46,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,5f +,00,5f,\ 00,5f,00,5f,00,5f,00,5f,00,5f,00,5f,00,4c,00,45,00,30,00,37,00,5f,00 +,5f,00,\ 5f,00,5f,00,23,00,35,00,26,00,32,00,36,00,37,00,39,00,34,00,34,00,66 +,00,62,\ 00,26,00,30,00,26,00,30,00,2e,00,31,00,2e,00,30,00,23,00,7b,00,35,00 +,33,00,\ 66,00,35,00,36,00,33,00,30,00,64,00,2d,00,62,00,36,00,62,00,66,00,2d +,00,31,\ 00,31,00,64,00,30,00,2d,00,39,00,34,00,66,00,32,00,2d,00,30,00,30,00 +,61,00,\ 30,00,63,00,39,00,31,00,65,00,66,00,62,00,38,00,62,00,7d,00
</Update> As a last resort i could do it the "graphical way" using autoit or some Win32:GUI Module but I think there could be errors this way ...\ ? ? \ I D E # C d R o M T S S ... Any Idea how to parse this have i use to parse the hex valuese? <br>?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to change the drive letter for a CD/DVD drive on Windows?
by BrowserUk (Patriarch) on Dec 04, 2009 at 15:10 UTC | |
by matze77 (Friar) on Dec 04, 2009 at 15:38 UTC | |
by BrowserUk (Patriarch) on Dec 04, 2009 at 15:56 UTC | |
by matze77 (Friar) on Dec 04, 2009 at 16:02 UTC | |
|
Re^3: How to change the drive letter for a CD/DVD drive on Windows?
by marto (Cardinal) on Dec 04, 2009 at 14:28 UTC |