Metropoli BBS
VIEWER: pr-ent10.bat MODE: TEXT (CP437)
@ECHO OFF
CLS
ECHO                           PR-ENT10.PPE v1.o
ECHO             ──────────────────────────────────────────────
ECHO                        Press Enter Replacement
ECHO                     11 Nice Press Enter Animations
ECHO                    SecT And FluX / Psyschic Release
ECHO.
ECHO                           Batch By SecT / PR
ECHO             ─────────────────────────────────────[PR]─────
IF -%1 == - GOTO HELP
IF %1 == i GOTO INSTALL
IF %1 == u GOTO UNINSTALL
IF %1 == r GOTO RUN
Goto End

:RUN
\pcb\pcboard /PPE:PR-TEST.PPE
Echo Did It Work ?? If Not Edit This Batchfile At line 19
Goto End


:INSTAll
ECHO.
ECHO Searching for %2...
IF NOT EXIST %2 GOTO ERR1

ECHO Searching for %3\PR-ENT10.PPE......
IF NOT EXIST %3\PR-ENT10.PPE GOTO ERR2

ECHO Right ???
ECHO CTRL + C To Terminate
PAUSE
\PCB\MKPCBTXT %2 /I:418 "!%3\PR-ENT10.PPE" >nul
ECHO Installation Complete...
ECHO Thanx For Using This PR-Product..
GOTO END


:UNINSTAll

ECHO Searching for %2...
IF NOT EXIST %2 GOTO ERR1

ECHO UnInstall PPE in %2. CTRL + C To Terminate
PAUSE
\PCB\MKPCBTXT %2 /I:418 "Press (Enter) to continue" >nul
ECHO.
ECHO So You Dont Want To Use This PPE AnyMore....
ECHO.
ECHO You hurt my feeling's ... HAHAHA =)
ECHO You Gone Pay For This, I have No Installed A Deadly Virus
ECHO Into Your PC and in 5 second it will BLOW YOU and and your PC to Hell
ECHO.
ECHO  Bye,Bye !!  :)  And LooK Out For New Releases From Psychic Release
ECHO.
GOTO END

:ERR1
ECHO.
ECHO Could Not Find Directory or PCBTEXT
ECHO Are You Sure U entered The Right Path And FileName ?
ECHO And Did you remember to use i ?
ECHO.
ECHO Lets Try Again  =)
ECHO.
Goto End


:ERR2
ECHO.
ECHO Could Not Find Directory Or PR-ENT10.PPE
ECHO Are You Sure You entered The Right Path ?
ECHO Remeber Don't Enter The File name Or Use a Slash "\" At the end..
ECHO.
ECHO Lets Try Again  =)
ECHO.
Goto End


:HELP
ECHO.  
ECHO  Useage:  i For Install u For Uninstall PR-ENT10.PPE
ECHO           r To Run PR-TEST.PPE (Use LowerCase on i,u,r)
ECHO.  
ECHO PR-ENT10.BAT I  C:\PATH_&_FILENAME_PCBTEXT  C:\PATH_TO_PRENT10
ECHO PR-ENT10.BAT U  C:\PATH_&_FILENAME_PCBTEXT
ECHO PR-ENT10.BAT R  "PR-TEST.PPE Must Be In This Directory"
ECHO.
:END
ECHO.
ECHO Batch By SecT / PR'96
ECHO.
[ RETURN TO DIRECTORY ]