home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
adpost02.zip
/
InstPost.Cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-08-02
|
3KB
|
79 lines
/* Installation of the AdeptXBBS AutoPost Program */
say 'D'
say '
C
*
──────────────────────────────────────────────────────────
*
'
say ' C
░
AdeptXBBS AutoPost Installation V0.1ß
░
'
say ' C
░
░
'
say ' C
░
This Install program Will Install The AdeptXBBS
░
'
say " C
░
AutoPost Program And it's Componants in a subdir
░
"
say 'AC C
░
in your Adept directory Names "AutoPost". Once
░
'
say ' C
░
the installation is completed you will be ready to
░
'
say ' C
░
run the Program for the very First Time! Enjoy.
░
'
say ' C
░
CopyRight (C) 1995 H.O.P.E
░
'
say '
C
*
──────────────────────────────────────────────────────────
*
'
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
SAY ''
SAY ' Installation Menu '
SAY ''
SAY ' [Y] Continue and Install The AdeptXBBS AutoPost!'
SAY ''
SAY " [N] Quit and DON'T Install the AdeptXBBS AutoPost Program!"
SAY ''
SAY ' Choice: '
PARSE PULL answer
if anwser='N' | answer = 'n' then signal End
Else
if Answer='Y' | answer = 'y' then do
SAY ' Great! You picked the right choice! '
SAY ''
SAY 'Which Drive Is Your Copy of AdeptXBBS Located in? (i.e - D) <no ":">!'
PARSE PULL dummy
SAY ''
SAY ' Installing the AdeptXBBS AutoPost program Into Appropriate Dir.'
ADDRESS CND 'ECHO OFF'
ADDRESS CMD 'MD 'dummy':\adept\AutoPost'
ADDRESS CMD 'UNZIP APostData.Dat -d 'dummy':\adept\AutoPost'
ADDRESS CMD 'COPY *.* 'dummy':\adept\AutoPost'
ADDRESS CMD 'CD 'dummy':\adept\AutoPost'
SAY ''
SAY ''
SAY 'Do You Wish to Have The AutoPost Started At Logon <Great for Popularity>? Y/N'
PARSE UPPER PULL logon
if logon = 'Y' | logon = 'y' then signal DoItLogon
Else
if logon = 'N' | logon = 'n' then signal DoItMain
DOITLOGON:
logmenu = dummy':\adept\menus\AtLogin.Menu'
doit = Lineout(logmenu,'~,10,AdeptXBBS AutoPost,'dummy':\adept\AutoPost\AutoPost.Erx,0')
SAY 'AdeptXBBS AutoPost has Just Been Added to the AtLogin.Menu'
signal DoItMain
DOITMAIN:
SAY ''
SAY 'Now Adding AdeptXBBS AutoPost to the Main.Menu'
SAY ''
main = dummy':\adept\menus\Main.Menu'
doit = Lineout(main,'~,10,AdeptXBBS AutoPost,'dummy':\adept\AutoPost\AutoPost.Erx,0')
SAY "AdeptXBBS AutoPost Has Just been Added to the Main.Menu with the key '~' "
signal end
End:
SAY ''
SAY 'Delete the APostData.Dat File? Since The Installation Process is Completed?'
Parse Pull delete
if delete = 'Y' | delete = 'y' then do
ADDRESS CMD 'del 'dummy':\adept\AutoPost\APostData.Dat'
end
Do
SAY ''
SAY ' Thanks For Trying Out the AdeptXBBS AutoPost Program! '
SAY ''
SAY 'Enjoy!'
SAY ''
exit