MSFN Forum: WinPE 2.1 Remapping startup DVD Drive - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WinPE 2.1 Remapping startup DVD Drive Rate Topic: -----

#1 User is offline   curriegrad2004 

  • Group: Members
  • Posts: 1
  • Joined: 19-August 08

Posted 19 August 2008 - 03:04 AM

Is it possible to remap the DVD-ROM or CD-ROM drive letter where WinPE 2.1 starts up from? I don't mean the RAMDisk X: drive, but I mean where WinPE 2.1 starts up from.

I am creating an automated DVD restore image using ImageX and diskpart so that I don't have to purchase ghost just for recovering the PC.

Any possiblities through a script or a batch file?


#2 User is offline   WreX 

  • Junior
  • Pip
  • Group: Members
  • Posts: 84
  • Joined: 26-October 07

Posted 19 August 2008 - 05:20 AM

Here's a batch file I use from startnet.cmd to change the CD / DVD drive to K:

 
@echo off
echo list volume > X:\ListCD.txt
FOR /F "tokens=2,4" %%i IN ('diskpart /s X:\ListCD.txt') DO @IF /I %%j == CD_ROM SET CDROMVOL=%%i
IF DEFINED CDROMVOL echo select volume %CDROMVOL% > X:\ChangeCD.txt
IF DEFINED CDROMVOL echo assign letter=K: >> X:\ChangeCD.txt
IF DEFINED CDROMVOL diskpart /s X:\ChangeCD.txt 


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy