Page 1 of 1

If your dosapps don't launch because UBCDRV=?

Posted: Sat Jan 19, 2008 4:44 am
by franciscovega
First of all sorry for my bad english,

My Only problem with UBCD was that it didn't launch any dosapps due to the null string of UBCDRV .
But the thing is that my usb stick was on B:\

The problem is in dosubcd.igz/BIN/UBCD.BAT
It was only testing if %UBCDDRV% was on C, D [...] Z but NOT ON B !!

Code: Select all

set _ubcd=%ubcddrv%
set ubcddrv=
if "%ubcddrv%"=="" for %%i in (%_ubcd% %BCDW_CDROM%: %ramdrv% A:) do call %0 : _testdrv %%i
if "%ubcddrv%"=="" for %%i in (C D E F G H) do call %0 : _testdrv %%i:
if "%ubcddrv%"=="" for %%i in (I J K L M N) do call %0 : _testdrv %%i:
if "%ubcddrv%"=="" for %%i in (O P Q R S T) do call %0 : _testdrv %%i:
if "%ubcddrv%"=="" for %%i in (U V W X Y Z) do call %0 : _testdrv %%i:
goto _drives
So i changed it to

Code: Select all

if "%ubcddrv%"=="" for %%i in (B C D E F G H) do call %0 : _testdrv %%i:
And that works !!

The only question now is : why not testing on drive B ?? :evil:

Posted: Fri Jan 25, 2008 9:22 pm
by Victor Chew
Thanks! I will update this in the next release.