arabianhorse Posted April 2, 2008 Share Posted April 2, 2008 hi everyone is there another way to tell vista to set %CDROM% as i am having a little error box when installing vista on the C:\ drive as i have more then ten drivers on my machine after few error box the vista recognise my visa dvd then the wpi start running these error boxes dont appear at all when installing vista on d:\ drive or on any other driver or on the virtual so my question is is there another way to do that i hope someone understood what i mean in an attachment the command i am using @Echo offcWnd /hide @EchoFOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y) DO IF EXIST "%%i:\sources\install.wim" (SET CDROM=%%i:& goto DONECD):DONECDrem *** XPlode ***%CDROM%\WPI\XPlode.exegoto QUIT:QUITexit Link to comment Share on other sites More sharing options...
arabianhorse Posted April 2, 2008 Author Share Posted April 2, 2008 the error i have see the attach Link to comment Share on other sites More sharing options...
amit_talkin Posted April 4, 2008 Share Posted April 4, 2008 try this@ECHO OFFSET CDROM=NULL:SearchCDROMFOR %%i IN (C 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:\sources\install.wim SET CDROM=%%i:\IF NOT "%CDROM%"=="NULL" GOTO WPIGOTO SearchCDROM:WPIECHO CDROM=%CDROM%%CDROM%\WPI\XPlode.exe 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