Souper95, Another .BAT File!

Steve_Coletti (bigsteve@dorsai.dorsai.org)
Sun, 11 Aug 1996 09:43:55 -0400

As long as were trying to help out some of us who are having problems
setting up or running Souper95, I figured why not post up my .BAT file so
they can see how I did it.

Since I'm writing this as a note to new users and those confused by the
DOC, I'll state a lot of obvious things in my comments. I don't mean to
insult anyone's intellegence, but I'm sure I'll get flamed for being
patronizing.

- - - -
@echo off
SET HOME=C:\BIGSTEVE
SET NNTPSERVER=NEWS.DORSAI.ORG
(Enviornmental variables; HOME required for import95.exe, set to
the same value as you do with YARN. NNTPSERVER is explained in
the DOC as your ISP's NEWS _sending_ server. Variable YARN is
already set by the AUTOEXEC.BAT.)

IF NOT EXIST D:\UPLOAD\DORREP.ZIP GOTO IN
(I use this expression to skip the uploading procedure if I have no
replies.)

:OUT
ECHO Souper95 is sending mail and news.
ECHO Unzipping reply packet.
(Some asthetics so I know what the .BAT file is doing.)

PKUNZIP -o D:\UPLOAD\DORREP.ZIP
ECHO Contacting SMTP and NNTP servers
SOUPER95 -s smtp.dorsai.org
(The MAIL sending server is SMTP here, and is added on the command
line. The NEWS sending server is the defined NNTPSERVER
enviornment above.)

DEL D:\UPLOAD\DORREP.OLD
REN D:\UPLOAD\DORREP.ZIP *.OLD
(Archiving the upload packet, and deleting the previous one.)

:IN
COPY %TEMP%\NEWSRC.OUT %TEMP%\NEWSRC.IN
COPY C:\NRSOUPER.TXT C:\NRSOUPER.SOU
(OK, This is custom work. I still use my shell account to also
import MAIL and NEWS so I've delveloped a flip-flop of file renames
with the ISP's .newsrc file. I can explain this in detail if
requested. The key is the NRSOUPER.SOU (dummy) file. It's presence
means I last downloaded NEWS from Souper95 and it tells my QMODEM
script to upload the newsrc.out file and to execute a bash script
on my shell account that renames it to .newsrc for uqwk to use.
The QMODEM script then deletes the "key" from my local root dir.
NEWSRC.IN is a backup, [i.e. last pointer], file in case I have to
recover.)

ECHO Souper95 is importing News.
SOUPER95 -m -N %TEMP%\NEWSRC.OUT
IMPORT95 -u
(Here I import the NEWS seperately, overriding the default NEWSRC
with my newsrc.out file. I do this because there have been
problems at the ISP where one server was down and the entire import
got messed up. If your ISP is sometimes flaky in this department
the seperate imports may be the way to go.)

ECHO Souper95 is importing Mail.
SOUPER95 -n -r pop.dorsai.org bigsteve (password)
IMPORT95 -u
(This is standard stuff.)

SET NNTPSERVER=
SET HOME=
(Resetting the enviornments.)
cd \
pause
(Just in case I took my eyes off the screen, I want to go back and
look to see that it went OK.)
EXIT

- - - -

-- 
 < ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^>
 <                         "Big Steve" Coletti                         >
 <       Computer and Network Installation, Upgrades and Repair.       >
 <                    Internet: bigsteve@dorsai.org                    >
 < I was balding, then I installed Windows 95 and pulled the rest out. >
 <                US Mail: P.O. Box 396, New York, NY 10002            >
 <              Fax Weekdays/Voice Weekends: +1 212 995-2637           >
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~