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?
Page 1 of 1
WinPE 2.1 Remapping startup DVD Drive
#2
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



Help
Back to top









