xphilz Posted May 14, 2004 Share Posted May 14, 2004 G'Day all,Wondering if anyone knows how to set a permanent drive letter for the PE cd so each time it boots it will always be a certain drive letter.EG\ want it to always be P drive.Cheers,Phil Link to comment Share on other sites More sharing options...
Br4tt3 Posted May 17, 2004 Share Posted May 17, 2004 Dunno if u have a special criteria for wanting the PE to assign a special drive letter to the CD as you could manage most circumstances with PE to refer it to as %systemdrive% variable.I use this variable to run appz off the WinPE CD (path). Check out:http://www.msfn.org/board/index.php?showtopic=18150&st=10 Link to comment Share on other sites More sharing options...
xphilz Posted May 17, 2004 Author Share Posted May 17, 2004 Hey there Br4tt3,Thanks for taking the time to reply.I actaully posted to the WinPE newsgroups @ M$ as well this question (with more detail)<SNIP>This is particularly important for me as I have Compaq servers with the 44MB system partition, then I need to create 2 extra partitions as C and D, but the issue is that the CDRom will already have taken D drive, so my new partition ends up as C and E.I am aware I can use DiskPart to change the CD drive letter, but this is not helpful as I have to reboot after the change which is time consuming and causes more scripting as I am trying to do this automagically.It would be far easier to be able to force the PE CD to default to a particular drive letter.<\SNIP>...and I got this following reply...<SNIP>WinPE will assign itself the next available drive letter there is nothing that can be done to change this. The drive letters assigned while running WinPE will not be the same assignments once the OS is installed to the drive.Regardless if you assign the second partition as letter E: after a single reboot it will be seen as drive D: and WinPE will be moved up to letter E: <\SNIP>I will do some more testing around this theory, but I was pretty sure from my initial testing that this wasn't the case....but as I said, I will test it more thoroughly to see the outcome. I'll post my results once I get this done. Link to comment Share on other sites More sharing options...
likuidkewl Posted May 17, 2004 Share Posted May 17, 2004 I have found that if you use a a program called getcd.exe, say called from a batchfile that it makes this X:, any other time it has been the next available drive letter. Link to comment Share on other sites More sharing options...
Br4tt3 Posted May 18, 2004 Share Posted May 18, 2004 Yup... I have used the Iceman solution, detectCD.exe I think it was called... and then modified his code somewhat to comply for personal reasons...Check that one out and see if it helps u aswell...http://icemannd.msfnhosting.com/index.htm?...tm&detectcd.htmGuess it will get down to try and error... GL Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now