Ok the task was to send email via SMTP through ARev. Novell Netware 3.x. This was accomplished using a command line freeware program BLAT.EXE. This being a "Windows" program needs not a PIF.
While trying the various methods to access ARev and run the above on a variety of workstations I ran into these:
W2k: Shelling out to call the program or a BAT file would complain "program too large to fit in memory" - solved by executing "FORCEDOS" in the shell to call a BAT file.
W2K: Creating a desktop shortcut (PIF) from the AREV.EXE and adding LHIPXTSR.EXE (with and without the /P) to the PROGRAM Batch File property would not work. It seems that the "Batch File" parameter is being ignored (nothing put in there would execute). - Solved by linking an AUTOEXEC.xx file that loads LHIPXTSR.EXE to the PIF.
Win98: When shelling out from a PIF as above I get a message "Program cannot be run in DOS mode" when I try to run a Windows program. BLAT.EXE, START.EXE, NOTEPAD.EXE or what have you. It doesn't matter if I shell out with a PC, SUSPEND or PCPERFORM command. And executing PC or SUSPEND from TCL and manually start BLAT. DOS programs (like Buerg's LIST.COM) do work though.
I have not begun to research the last anomaly, but I just tried creating a PIF on my home Win98 machine and it works as anticipated.
Any thoughts?
Im not quite sure of what you are trying to do but it
sounds majorly compicated.
We use a software package called PEGASUS mail, completely free and downloadable from the web. Very easy to use and you custom create
mail in AREV and plop it into the out directory of pegasus.
Then pegasus just grabs it and sends it out on the internet.
No batching programs, no windows problems, no smtp. just create it
and send it.
We're already doing that with MHS. We want to replace it using SMTP.
Correction, that should be SMF, not MHS.
Does Pegasus support multiple binary attachments?
Any relationship to David Harris' Pegasus Mail (www.pmail.com)?