Metropoli BBS
VIEWER: cf1.bat MODE: TEXT (ASCII)
ECHO OFF
cls
prompt $p$g
if "%1" == "?" goto usage
if "%1" == "at" goto inst
if "%1" == "AT" goto inst
if "%1" == "xt" goto inst
if "%1" == "XT" goto inst

if "%1" == "2at" goto inst
if "%1" == "2AT" goto inst
if "%1" == "2xt" goto inst
if "%1" == "2XT" goto inst

if "%1" == "3at" goto inst
if "%1" == "3AT" goto inst
if "%1" == "3xt" goto inst
if "%1" == "3XT" goto inst

if "%1" == "4at" goto inst
if "%1" == "4AT" goto inst
if "%1" == "4xt" goto inst
if "%1" == "4XT" goto inst

sel_seq

:inst

ECHO OFF
IF EXIST AUTOEXEC.BAT	DEL AUTOEXEC.BAT
IF EXIST CONFIG.SYS	DEL CONFIG.SYS
IF EXIST *.NEW		DEL *.NEW

CLS
ECHO\
ECHO NOTICE: If the DOS version is 5.0, MS-DOS Extensions is ignored
ECHO         as Incorrect DOS version.
ECHO\

ECHO AUTOEXEC.BAT and CONFIG.SYS files will be modified.  Wait for a while.

ECHO\

ECHO ON
COPY C:\AUTOEXEC.BAT
COPY C:\CONFIG.SYS

ECHO\
ECHO OFF

shell3 del_MSCD
shell3 del_DVR

ECHO\
ECHO ON
COPY CONFIG.NEW+CONFIG.%1 CONFIG.NEW
ECHO OFF

ECHO\

shell3 app A:\%2
shell3 m_sys A:\%2

:take_ca
ECHO\
ECHO\
ECHO Some files will be copied from Library disk to the target disk.
ECHO Continue in response to each prompt, then you can install
ECHO Sony MS-DOS CD-ROM Extentions on the target disk.

ECHO\
ECHO NOTE: Even if your computer has only one floppy disk drive,
ECHO       the following message will be displayed at each prompt.

ECHO\
ECHO       Insert diskette for drive A: (or B:) and strike
ECHO       any key when ready

ECHO\
ECHO       Make a note of the following:

ECHO\
ECHO       If drive letter A: appears, insert Library disk.

ECHO\
ECHO       If drive letter B: appears, insert a target disk.

ECHO\
PAUSE

if "%2" == "" goto make_ca
ECHO ON
MD B:\%2
ECHO OFF

:make_ca
ECHO ON
COPY AUTOEXEC.BAT+AUTOEXEC.ADD B:\AUTOEXEC.BAT
COPY CONFIG.SYS B:\CONFIG.SYS
COPY SONY_CDU.SYS B:\%2
COPY MSCDEX.EXE B:\%2

ECHO OFF
IF EXIST AUTOEXEC.BAT	DEL AUTOEXEC.BAT
IF EXIST CONFIG.SYS	DEL CONFIG.SYS
IF EXIST *.NEW		DEL *.NEW

LAST_MSG A %2
goto exit

:usage
echo\
echo\
echo 	USAGE...
echo\
echo 	CF1 XX [Option] and Enter
echo\
echo 	    XX: Your computer type, AT or XT
echo 	        Option: Sub Directory
echo\
echo\
echo 	CF1 ? and Enter 		; Display this message.

echo\
echo\
:exit



[ RETURN TO DIRECTORY ]