Metropoli BBS
VIEWER: install.bat MODE: TEXT (LATIN1)
@echo off
if *%1 == * goto explain
if *%2 == * goto explain

if not exist %1 goto explain
if not exist %2\con goto explain

:install
copy mail*.* %2

mkpcbtxt %1 /i:663 "!%2\mail1.PPE"
mkpcbtxt %1 /i:662 "!%2\mail2.PPE"
mkpcbtxt %1 /i:397 "!%2\mail3.ppe"
mkpcbtxt %1 /i:425 "!%2\mail4.ppe"

if *%3 == * goto done
if not exist %3\con goto done


:done
echo ÿ
echo The Ami/x mail has been installed.........
echo ÿ
goto end

:explain
echo ÿ
echo Installation of AMI/X MAIL
echo --------------------------
echo Usage:   INSTALL pcbtext ppldir 
echo ÿ
echo  Example usage:
echo ÿ
echo     INSTALL D:\PCB\GEN\PCBTEXT D:\PCB\PPES\
echo ÿ

:end
[ RETURN TO DIRECTORY ]