TIP: Click on subject to list as thread! ANSI
echo: os2bbs
to: ALAN HESS
from: ROY J. TELLASON
date: 1998-01-10 16:49:00
subject: OS/2 .cmd files

Alan Hess wrote in a message to Roy J. Tellason:
 AH>    ----- runmaxp.cmd begins -----
 AH> Echo OFF
 AH> Cls
 AH> SET BINKLEY=D:\MAX
 AH> SET THDPORT=MAXIMUS
 AH> SET NET=261
 AH> SET NODE=1000
 AH> SET IN=D:\MAX\FILE\NETFILE
 AH> SET OUT=D:\MAX\OUTBOUND
 AH> SET MEX_INCLUDE=D:\MAX\M
 AH> SET tbuf=8192
 AH> SET rbuf=8192
 AH> PATH=%path%;c:\os2\os2util;d:\max;d:\squish;e:\arcutil;
 AH> D:
 AH> CD\max
 AH> :Loop
 AH> D:
 AH> cd\max
 AH> If exist d:\max\flags\*.bsy del d:\max\flags\*.bsy
 AH> BTP CONFIG binkleyp.cfg unattended SHARE
 AH>    If ERRORLEVEL 255 goto Loop
 AH>    If ERRORLEVEL 240 goto BBS_240
 AH>    If ERRORLEVEL 216 goto BBS_216
 AH>    If ERRORLEVEL 192 goto BBS_192
 AH>    If ERRORLEVEL 168 goto BBS_168
 AH>    If ERRORLEVEL 144 goto BBS_144
 AH>    If ERRORLEVEL 120 goto BBS_120
 AH>    If ERRORLEVEL 100 goto F10_key
 AH>    If ERRORLEVEL 96 goto BBS_96
 AH>    If ERRORLEVEL 90 goto F9_key
 AH>    If ERRORLEVEL 80 goto BBS_336
 AH>    If ERRORLEVEL 72 goto BBS_72
 AH>    If ERRORLEVEL 70 goto F7_key
 AH>    If ERRORLEVEL 64 goto Donuttin
 AH>    If ERRORLEVEL 60 goto Overnite
 AH>    If ERRORLEVEL 55 goto Makenl
 AH>    If ERRORLEVEL 50 goto F5_key
 AH>    If ERRORLEVEL 56 goto BBS_312
 AH>    If ERRORLEVEL 48 goto BBS_48
 AH>    If ERRORLEVEL 40 goto F4_key
 AH>    If ERRORLEVEL 32 goto BBS_288
 AH>    If ERRORLEVEL 30 goto Squishmail
 AH>    If ERRORLEVEL 24 goto BBS_24
 AH>    If ERRORLEVEL 20 goto Squishmail
 AH>    If ERRORLEVEL 12 goto BBS_12
 AH>    If ERRORLEVEL 10 goto Mailout
 AH>    If ERRORLEVEL 8 goto BBS_264
 AH>    If ERRORLEVEL 5 goto Loop  
 AH>    If ERRORLEVEL 4 goto Error
 AH>    If ERRORLEVEL 3 goto BBS_3
 AH>    If ERRORLEVEL 2 goto Loop
 AH>    If ERRORLEVEL 1 goto End
 AH> :Donuttin
 AH> waitn 120
 AH> goto loop
What's that one for?
 AH> :Overnite
 AH> call overnite.bat
 AH> goto loop
 AH> :Makenl
 AH> call domakenl.bat
 AH> goto loop
 AH> :Squishmail
 AH> call runos2.cmd mail.cmd
 AH> goto loop
Invoking another instance of the command processor there in that middle line?
 AH> :Mailout
 AH> call runos2.cmd mail2.cmd
 AH> goto loop
 AH> :F10_key
 AH> maxp max -k
 AH> goto Loop
 AH> :F9_key
 AH> list2 newusers.txt
 AH> muep
A different user editor,  I guess.  I just use the one that's built-in,  does 
this one work okay with max 3.01?
 AH> cd\nodes
 AH> bonk
 AH> goto loop
 AH> :F7_key
 AH> d:
 AH> cd\squish
 AH> Sq386p Out Squash
 AH> cd\max
 AH> goto loop
 AH> :F5_key
 AH> call runos2.cmd packbase.cmd
 AH> goto loop
 AH> :F4_key   
 AH> i:
 AH> cd tcpip\bin
 AH> REM Dial Other Internet Providers
 AH> SLIPPM.EXE
 AH> goto loop
More details on this stuff would be welcomed.  One of the things I left out 
of my earlier post was GIGO and FX-UUCICO,  the latter of which might be a 
problem.  I have a dialup uucp connection for email.
 AH> :BBS_336
 AH> :BBS_312
 AH> :BBS_288
 AH> :BBS_264
 AH> :BBS_240
 AH> :BBS_216
 AH> :BBS_192
 AH> :BBS_168
 AH> :BBS_144
 AH> :BBS_120
 AH> :BBS_96
 AH> :BBS_72
 AH> :BBS_48
 AH> :BBS_24
 AH> :BBS_12
 AH> :BBS_3
 AH> goto Loop
Why are these all bunched together and why do they just loop?  Or am I 
missing something here?
 AH> :Error
 AH> Echo 
What's that one?
 AH> Echo Serious Error - Maximus Halted.
 AH> Goto End
 AH> :End
 AH> EXIT
 AH>    ----- runmaxp.cmd ends -----
 AH> These use the OS/2 "Start" command:
Which,  as I understand it,  doesn't let you switch to that process to see 
what's going on.  Is that the case?
 AH>    ----- runos2.cmd begins -----
 AH> @echo off
 AH> start /I /C /B /MIN %1
 AH>    ----- runos2.cmd ends -----
 AH>    ----- rundos.cmd begins -----
 AH> @echo off
 AH> start /I /C /MIN /DOS %1
 AH>    ----- rundos.cmd ends -----
 AH> After mail arrives:
 AH>    ----- mail.cmd begins -----
 AH> echo off
 AH> D:
 AH> cd\squish
 AH> sq386p in out squash -fd:\max\echotoss.log
 AH> REM sqlinkp -fd:\max\echotoss.log
Why the REM here?
 AH> erase d:\max\outbound\*.bsy
 AH> cd\max
 AH> scanbldp MATRIX
 AH> erase echotoss.log
 AH>    ----- mail.cmd ends -----
 AH> All message areas except netmail are squish format.
That one is here,  too.
I'll save these and use 'em as a starting point,  at least...
email: roy.j.tellason%tanstaaf@frackit.com 
--- 
---------------
* Origin: TANSTAAFL BBS 717-432-0764 (1:270/615)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.