Jump to content











Photo
- - - - -

winpe Auto detect harddrive need help!!


  • Please log in to reply
No replies to this topic

#1 911CD.net

911CD.net

    Member

  • Advanced user
  • 86 posts
  •  
    United States

Posted 27 March 2010 - 09:08 AM

hey i made my own winpe and i have it so it auto detects the CD drive based on this script running from the startnet.bat

example:
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\WinPE_Boot_Media.txt SET CDROM=%%i:
%CDROM%

and i tried to make it so it would be the same basic script but to also detect the target harddrive (its primary for a antivirus
disc) but i cant get it to work.. if any 1 has any ideas it would be really helpful... also any way to auto load the target hard drives registry hives would be cool to...

View the full article




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users