AppleShare PC: How to Run Microsoft Mail on a UngermannBass LAN



What is the most reliable setup for running and printing Microsoft Mail
over AppleTalk from an IBM that is also on a UngermannBass LAN?

Here's what we suggest for a setup:

NOTE: There are two lines below that have a character known as the
"at symbol", which is above the number 2 on most standard keyboards. When you
see "<at symbol>" listed in the code below, you type in the actual symbol, not
the string "<at symbol>." AppleLink does not allow use of that character in
an article.

* PS/2 80
* 4MB RAM
* DOS 3.3, Windows 3.0
* an UngermannBass Card
* DayStar AppleTalk card
* AppleShare PC 2.01 software
* Microsoft Mail for DOS software.

Here's what happens when under Windows (with the UngermannBass network drivers
and Windows already loaded):

1) Program Manager calls Mail.PIF

2) Mail.PIF calls MSMAIL.BAT

3) MSMAIL.BAT loads AppleShare PC software

4) MSMAIL.BAT starts Microsoft Mail for PC.

5) When exiting Microsoft Mail, MSMAIL.BAT unloads the AppleShare PC
drivers.

A key thing you'll need to duplicate this setup is the MSMAIL.BAT file.
Here it is:

echo off
D:\\ASPC\\LSL > nul
if errorlevel 1 goto aspc_err
D:\\ASPC\\DSTARLT /NAME=DSTARLT > nul
if errorlevel 1 goto aspc_err
D:\\ASPC\\ATALK > nul
if errorlevel 1 goto aspc_err
D:\\ASPC\\PAP_WS > nul
if errorlevel 1 goto aspc_err
d:\\aspc\\compat > nul
REM *** Memory usage for the above programs is approximately 75K bytes.
goto skip_aspc
:aspc_err
echo *** A fatal error has occurred while loading AppleShare PC. ***
pause *ASPC*
:skip_aspc
d:
cd\\msmail2
mail
d:\\aspc\\anet remove all


Here are some autoexec.bat, config.sys, and Mail.PIF files:

config.sys
device=C:\\himem.sys
device=C:\\dasddrvr.sys
shell=c:\\command.com /P /E:768
DEVICE=BRIDGE_B.DRV /PS80:1B
device=c:\\mouse.sys /Y
device=C:\\WIN3\\smartdrv.sys 2048 512
device=c:\\LANMAN\\NETPROG\\NETCICOM.DRV
files=30
BUFFERS=10
stacks=0,0
break=ON
lastdrive = z

autoexec.bat
C:\\WIN3\\AD-DOS.COM
<at symbol>echo off
set TEMP=C:\\temp
prompt $p$g
PATH
C:\\EXCEL3;d:\\bat;c:\\;c:\\dos;c:\\win3;c:\\winword;D:\\ASPC;c:\\excel;d:\\designer;c:
\\
p
hon;c:\\lanman\\netprog
if exist %TEMP%\\~???????.tmp erase %TEMP%\\~???????.tmp
net start workstation
goto skip
:bad_pw
echo Please re-enter your password
:skip
net logon t7697 *
net view \\\\pdosrv1
if errorlevel 1 goto bad_pw
call c:\\accessw\\startei.bat
win

MS Mail Icon calls Mail.PIF. Mail.PIF has the following settings:
Program Filename: MSMAIL.BAT
Window Title: Mail
Optional Parameters:
Start-up Directory: D:\\MSMAIL2
Memory Requirements: KB Required 128 KB Desired 640
Display Usage: Full Screen
Execution:
Close Window on Exit: (checked)
Advanced options...
all set to default values

The above is a simple PIF that calls MSMAIL.BAT MSMAIL.BAT follows...

<at symbol>echo off
D:\\ASPC\\LSL > nul
if errorlevel 1 goto aspc_err
D:\\ASPC\\DSTARLT /NAME=DSTARLT > nul
if errorlevel 1 goto aspc_err
D:\\ASPC\\ATALK > nul
if errorlevel 1 goto aspc_err
D:\\ASPC\\PAP_WS > nul
if errorlevel 1 goto aspc_err
d:\\aspc\\compat > nul
REM *** Memory usage for the above programs is approximately 75K bytes.
goto skip_aspc
:aspc_err
echo *** A fatal error has occurred while loading AppleShare PC. ***
pause *ASPC*
:skip_aspc
d:
cd\\msmail2
mail
d:\\aspc\\anet remove all



Published Date: Feb 18, 2012