Here's SP.BAT : (It's basically the IMRUN01.BAT but only the mail handling
stuff. 



:start
 if exist c:\im2\secure\nodediff.* goto nodediff
 if exist c:\im2\secure\toadlist.* goto nodediff
 if exist c:\im2\secure\*.tic goto tic
 goto toss

:tic
 c:
 cd\im2\af
 allfix file
 allfix announce
 goto start

:nodediff
 c:
 if exist c:\im2\sema\imsleep.now goto toss
 rem >c:\im2\sema\imsleep.now
 cd\im2\secure
 copy nodediff.* c:\im2\nodelist
 copy toadlist.* c:\im2\nodelist
 del nodediff.*
 del toadlist.*
 cd\im2\nodelist
 pkxarc nodediff.a*
 pkunzip toadlist.z*
 editnl /clean
 imnc /f
 cd\im2\nodelist
 if exist nodediff.* del nodediff.*
 if exist toadlist.z?? del toadlist.z??
 cd\im2
 del c:\im2\sema\imsleep.now
 goto start

 toss
 c:
 cd\im2
 intrecho /toss
 cd\im2
 exit



In my IMRUN01.BAT, I've got this :

:aftermail
 c:
 cd\dv
 spawn sp-pif.dvp
 goto start

Then for the SP window in DESQview, here's the goodies for it :

                              Standard Options

Program Name............: Spawn InterEcho /TOSS

Keys to Use on Open Menu: SP                         Memory Size (in K): 550

Program...: SP.BAT

Parameters:

Directory.: \IM2

Options:
                 Writes text directly to screen.......: [N]
                 Displays graphics information........: [N]
                 Virtualize text/graphics (Y,N,T).....: [N]
                 Uses serial ports (Y,N,1,2)..........: [N]
                 Requires floppy diskette.............: [N]

                              Advanced Options

System Memory (in K).......:   2     Maximum Program Memory Size (in K):

Script Buffer Size.......:  1000     Maximum EMS/XMS/VCPI/DPMI (in K):  2048

Text Pages: 1               Graphics Pages: 0         Initial Video Mode:

Window Position:
   Maximum Height:  25       Starting Height:  25       Starting Row...:   1
   Maximum Width.:  80       Starting Width.:  80       Starting Column:   1

                               Shared Program
Pathname..:
Data......:

Close on exit (Y,N,blank)......: [N]  Uses its own colors..............: [Y]
Allow Close Window command.....: [N]  Runs in background (Y,N,blank)...: [Y]
Uses math coprocessor..........: [N]  Keyboard conflict (0-F)..........: [0]
Share CPU when foreground......: [Y]  Share EGA when foreground/zoomed.: [Y]
Can be swapped out (Y,N,blank).: [Y]  Protection level (0-3)...........: [0]

This works, and frees up the node that would be busied out while mail is being
tossed. 


