MSFN Forum: is there another way to set %CDROM% - MSFN Forum

Jump to content



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

is there another way to set %CDROM% Rate Topic: -----

#1 User is offline   arabianhorse 

  • Go easy on me
  • Pip
  • Group: Members
  • Posts: 87
  • Joined: 07-June 05

Posted 02 April 2008 - 12:24 PM

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

Quote

@Echo off
cWnd /hide @
Echo
FOR %%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)
:DONECD

rem *** XPlode ***

%CDROM%\WPI\XPlode.exe

goto QUIT
:QUIT
exit



#2 User is offline   arabianhorse 

  • Go easy on me
  • Pip
  • Group: Members
  • Posts: 87
  • Joined: 07-June 05

Posted 02 April 2008 - 02:36 PM

the error i have see the attach

Posted Image

#3 User is offline   amit_talkin 

  • Experienced
  • PipPipPip
  • Group: Members
  • Posts: 397
  • Joined: 05-October 05

Posted 04 April 2008 - 04:07 AM

try this

Quote

@ECHO OFF
SET CDROM=NULL

:SearchCDROM
FOR %%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 WPI
GOTO SearchCDROM

:WPI
ECHO CDROM=%CDROM%
%CDROM%\WPI\XPlode.exe


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