home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
bbs_mail
/
mxml_161.lzh
/
GETMAIL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-06-25
|
936b
|
33 lines
rem This is a sample file of fetching local mail with MaxMail
@echo off
rem this is my Maximus root directory
cdd d:\max
rem lastuser.cd was Lastuser.bbs when I logged onto my system
rem Use something simular. Log on, then copy lastuser.bbs to a saved
rem name so you can keep it
copy lastuser.cd lastus09.bbs
rem load up maxmail with a dummy task number, Local Mode, and /N switch
rem so that archive is saved
maxmail /l /n /t9
rem if it returns errorlevel 7, we have an archive
if errorlevel 7 goto moveit
goto end
rem I use a temp dir T:, but it could be your Maximus root dor elsewise
rem You will have a QWK0009 (task) created off the work directory. I move
rem the archive to a floppy here, then remove temo subdir. MaxMail will
rem normally remove subdir UNLESS you have /N switch...
:moveit
pause
move t:\qwk0009\crn*.qwk b:
rd t:\qwk0009
rem a little bit of cleanup
:end
del maxmai09.log