home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
HATCH
/
SINM10B2.ZIP
/
POLL.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-07-25
|
2KB
|
64 lines
ECHO SinMail POLL.BAT file
@ECHO OFF
REM lines with %WWIV_INSTANCE% can be uncommented for multinode support
REM lines with %1 can be uncommented to support command line switches
REM lines with \WWIV\BROADCAS are used with Singe's BroadCast utility,
REM which comes on-disk with the registered version of SinMail.
REM lines with SET FXUUCP can be uncommented to help ease environment space,
REM if you're using FXUUCP as your UUCICO program.
REM set fxuucp=c:\sinmail\fxuucp.cfg
c:
cd \sinmail
REM if "%WWIV_INSTANCE%"=="1" copy fxuucp.1 fxuucp.cfg > nul
REM if "%WWIV_INSTANCE%"=="2" copy fxuucp.2 fxuucp.cfg > nul
REM if "%1"=="1" copy fxuucp.1 fxuucp.cfg > nul
REM if "%1"=="2" copy fxuucp.2 fxuucp.cfg > nul
sinmail smout /d4 /l3
if errorlevel==2 echo errorlevel is greater than 2
if errorlevel==1 goto smoutproblem
uucico -sall
if errorlevel==2 echo errorlevel is greater than 2
if errorlevel==1 goto problem
REM if "%WWIV_INSTANCE%"=="1" echo ATH1 > com1
REM if "%WWIV_INSTANCE%"=="2" echo ATH1 > com2
REM \wwiv\broadcas Internet processing begun.
sinmail uuxqt /d4 /l3
if errorlevel==2 echo errorlevel is greater than 2
if errorlevel==1 goto uuxqtproblem
REM \wwiv\broadcas Internet processing complete.
goto end
:problem
echo ***** [: There was a problem with UUCICO
goto end
:uuxqtproblem
echo **** [: There was a problem with SinMail in UUXQT mode
goto end
:smoutproblem
echo **** [: There was a problem with SinMail in SMOUT mode
goto end
:end
cd \wwiv
REM if "%WWIV_INSTANCE%"=="1" echo ATH0 > com1
REM if "%WWIV_INSTANCE%"=="2" echo ATH0 > com2
REM uncomment the following line if you use FXUUCP and you want to clean
REM up some environment space.
REM set fxuucp=