curriegrad2004 Posted August 19, 2008 Posted August 19, 2008 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?
WreX Posted August 19, 2008 Posted August 19, 2008 Here's a batch file I use from startnet.cmd to change the CD / DVD drive to K:@echo offecho list volume > X:\ListCD.txtFOR /F "tokens=2,4" %%i IN ('diskpart /s X:\ListCD.txt') DO @IF /I %%j == CD_ROM SET CDROMVOL=%%iIF DEFINED CDROMVOL echo select volume %CDROMVOL% > X:\ChangeCD.txtIF DEFINED CDROMVOL echo assign letter=K: >> X:\ChangeCD.txtIF DEFINED CDROMVOL diskpart /s X:\ChangeCD.txt
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