39 lines
1 KiB
Batchfile
39 lines
1 KiB
Batchfile
@echo off
|
|
|
|
rem VBDOS is stupid and insists that command line arguments be translated
|
|
rem to upper case. So we shove them into a file and read them from there.
|
|
|
|
rem "ksfgilwz" is random crap I banged into my keyboard. Nobody should have
|
|
rem a file with that name. Right?
|
|
set MM_RN=ksfgilwz
|
|
|
|
rem Specify our settings, batch, and response files.
|
|
set MM_SF=C:\%MM_RN%.$$$
|
|
set MM_BF=C:\%MM_RN%.bat
|
|
set MM_RF=C:\%MM_RN%.!!!
|
|
|
|
if exist %MM_SF% del %MM_SF%
|
|
if exist %MM_BF% del %MM_BF%
|
|
if exist %MM_RF% del %MM_RF%
|
|
|
|
if not "%1"=="" echo %1 >> %MM_SF%
|
|
if not "%2"=="" echo %2 >> %MM_SF%
|
|
if not "%3"=="" echo %3 >> %MM_SF%
|
|
if not "%4"=="" echo %4 >> %MM_SF%
|
|
if not "%5"=="" echo %5 >> %MM_SF%
|
|
if not "%6"=="" echo %6 >> %MM_SF%
|
|
if not "%7"=="" echo %7 >> %MM_SF%
|
|
if not "%8"=="" echo %8 >> %MM_SF%
|
|
if not "%9"=="" echo %9 >> %MM_SF%
|
|
|
|
mm_setup.exe %MM_RN%
|
|
|
|
if exist %MM_BF% call %MM_BF%
|
|
|
|
if exist %MM_SF% del %MM_SF%
|
|
if exist %MM_BF% del %MM_BF%
|
|
if exist %MM_RF% del %MM_RF%
|
|
|
|
set MM_SF=
|
|
set MM_BF=
|
|
set MM_RN=
|