QUOTE (X-Savior @ Nov 1 2005, 01:26 AM)

Hi There,
Yes, I would Also like to know. For Batch Files, How do you search out the drive letter for the Optical Drive? I Read something some time ago about it. It searches for a specific file then assigns a drive letter for the location it finds.
I would like to speed up my installs by not copying the programs (2.5 Gb's) to the Drive.
My method,valid for usb hard drive or CD ROM or internal hard disk partition, is stated below:Winnt.sif[GuiRunOnce]
Command0="cmd /c start cmd /c (if exist a:\AutoXP.bat (a:\AutoXP.bat a:))"
Command1="cmd /c start cmd /c (if exist b:\AutoXP.bat (b:\AutoXP.bat b:))"
Command2="cmd /c start cmd /c (if exist c:\AutoXP.bat (c:\AutoXP.bat c:))"
Command3="cmd /c start cmd /c (if exist d:\AutoXP.bat (d:\AutoXP.bat d:))"
Command4="cmd /c start cmd /c (if exist e:\AutoXP.bat (e:\AutoXP.bat e:))"
Command5="cmd /c start cmd /c (if exist f:\AutoXP.bat (f:\AutoXP.bat f:))"
Command6="cmd /c start cmd /c (if exist g:\AutoXP.bat (g:\AutoXP.bat g:))"
AutoXP.bat%1
cd %1\proxp
for %%U in (i-A*.bat) do call %%U
for %%U in (i-B13*.bat) do call %%U
for %%U in (i-B14*.bat) do call %%U
for %%U in (i-B15*.bat) do call %%U
for %%U in (i-B16*.bat) do call %%U
for %%U in (i-C*.bat) do call %%U
for %%U in (i-D*.bat) do call %%U