@echo off
rem ---- find second partition ---
set secpar=e:
if EXIST e:\NUL goto ramfound
set secpar=e:
if EXIST d:\NUL goto ramfound
set secpar=d:
if EXIST c:\NUL goto ramfound
:ramfound
rem ---- Install ramdisk with 4MB as Drive R: ----
XMSDSK 2048 R: /y
xcopy c:\*.* R: /E
set COMSPEC=R:\command.com
PATH R:\
R:
R:\
rem DBPACK.EXE
mscdex /d:mtmide01 /l

/m:30
rem ------- Smartdrv On ---------
smartdrv C+ 8192 8192
rem ---- continue install -----
rem ---- note: no acess to Floppy anymore !!!
rem ---- after starting install.bat
install.bat