Metropoli BBS
VIEWER: install.bat MODE: TEXT (ASCII)
@echo off
rem
rem -------------------------------------------------------------------------
rem Prompts Galore! v2.1 by Drew [PWA]
rem -------------------------------------------------------------------------
rem
if .%1==. goto help
if .%2==. goto help
if not .%4==. goto help
if not exist %1 goto help
if .%3==.all goto all

:default
    mkpcbtxt %1 /i:%3 "!%2\PG.PPE %3"
goto done

:all
    mkpcbtxt %1 /i:1   "!%2\pg.ppe 1"
    mkpcbtxt %1 /i:53  "!%2\pg.ppe 53"
    mkpcbtxt %1 /i:54  "!%2\pg.ppe 54"
    mkpcbtxt %1 /i:79  "!%2\pg.ppe 79"
    mkpcbtxt %1 /i:80  "!%2\pg.ppe 80"
    mkpcbtxt %1 /i:82  "!%2\pg.ppe 82"
    mkpcbtxt %1 /i:84  "!%2\pg.ppe 84"
    mkpcbtxt %1 /i:85  "!%2\pg.ppe 85"
    mkpcbtxt %1 /i:86  "!%2\pg.ppe 86"
    mkpcbtxt %1 /i:87  "!%2\pg.ppe 87"
    mkpcbtxt %1 /i:88  "!%2\pg.ppe 88"
    mkpcbtxt %1 /i:89  "!%2\pg.ppe 89"
    mkpcbtxt %1 /i:90  "!%2\pg.ppe 90"
    mkpcbtxt %1 /i:105 "!%2\pg.ppe 105"
    mkpcbtxt %1 /i:196 "!%2\pg.ppe 196"
    mkpcbtxt %1 /i:212 "!%2\pg.ppe 212"
    mkpcbtxt %1 /i:213 "!%2\pg.ppe 213"
    mkpcbtxt %1 /i:220 "!%2\pg.ppe 220"
    mkpcbtxt %1 /i:227 "!%2\pg.ppe 227"
    mkpcbtxt %1 /i:228 "!%2\pg.ppe 228"
    mkpcbtxt %1 /i:296 "!%2\pg.ppe 296"
    mkpcbtxt %1 /i:403 "!%2\pg.ppe 403"
    mkpcbtxt %1 /i:420 "!%2\pg.ppe 420"
    mkpcbtxt %1 /i:449 "!%2\pg.ppe 449"
    mkpcbtxt %1 /i:461 "!%2\pg.ppe 461"
    mkpcbtxt %1 /i:474 "!%2\pg.ppe 474"
    mkpcbtxt %1 /i:477 "!%2\pg.ppe 477"
    mkpcbtxt %1 /i:483 "!%2\pg.ppe 483"
    mkpcbtxt %1 /i:490 "!%2\pg.ppe 490"
    mkpcbtxt %1 /i:498 "!%2\pg.ppe 498"
    mkpcbtxt %1 /i:500 "!%2\pg.ppe 500"
    mkpcbtxt %1 /i:503 "!%2\pg.ppe 503"
    mkpcbtxt %1 /i:504 "!%2\pg.ppe 504"
    mkpcbtxt %1 /i:550 "!%2\pg.ppe 550"
    mkpcbtxt %1 /i:551 "!%2\pg.ppe 551"
    mkpcbtxt %1 /i:556 "!%2\pg.ppe 556"
    mkpcbtxt %1 /i:571 "!%2\pg.ppe 571"
    mkpcbtxt %1 /i:583 "!%2\pg.ppe 583"
    mkpcbtxt %1 /i:595 "!%2\pg.ppe 595"
    mkpcbtxt %1 /i:596 "!%2\pg.ppe 596"
    mkpcbtxt %1 /i:605 "!%2\pg.ppe 605"
    mkpcbtxt %1 /i:630 "!%2\pg.ppe 630"
    mkpcbtxt %1 /i:662 "!%2\pg.ppe 662"
    mkpcbtxt %1 /i:678 "!%2\pg.ppe 678"
goto done


:help
cls
echo.
echo To install Prompts Galore, type:
echo.
echo        install PCBTEXT PPEDIR OPTION
echo.
echo        PCBTEXT is the full pathname of your PCBTEXT file.
echo.
echo        PPEDIR is the directory of where Prompts Galore is to be installed.
echo.
echo        OPTION must be either "all" to install all prompts, or the prompt
echo            number itself if you just want to install one prompt.
echo.
echo Examples:
echo.
echo     install C:\PCB\GEN\PCBTEXT C:\PPE\PG all  -- installs all prompts
echo     install C:\PCB\GEN\PCBTEXT C:\PPE\PG 474  -- installs prompt 474
echo.

:done
echo.
echo Prompts Galore v2.1 by Drew [PWA]
echo.
echo Gawd I hate batch files.  T/csh-shell scripts would have been so
echo much nicer. :)   --Drew
echo.
[ RETURN TO DIRECTORY ]