I thought I'd try this on UniData v7.2 (Windows 2K3). Here's what I get:
4 Dev (0)-> BPTEST EXECUTE \!dir\ CAPTURING OUTPUT ; CRT OUTPUT
Compiling Unibasic: SAVEDLISTS\BpTest_383842951 in mode 'p'.
compilation finished
Volume in drive E is Share&Dbms Volume Serial Number is C45E-045F
Directory o
f E:\DataTrust\Dev 10/22/2009 03:10 PM <DIR> . 10/22/2009
03:10 PM
<DIR> .. 10/23/2009 08:29 AM 72,704 AE_COMS
10/13/2009
05:13 PM <DIR> AE_SCRATCH 02/23/2007 09:28 PM
13,776
.
.
X_MASTER 03/27/2007 06:49 PM 32,768 X_MTGFILE 10/14/2009
03:19 PM 557,056
X_NAMES 06/29/2005 12:26 PM 2,048 _DEBUG_ 06/29/2005 12:26 PM
4,096 _EDAMAP_ 10/13/2009 05:13 PM <DIR> _EDAXMAP_
10/23/2009
09:21 AM <DIR> _PH_ 10/13/2009 05:13 PM <DIR>
_XML_ 02
/23/2007 09:22 PM 12,288 __V__VIEW 114
File(s) 89,52
7,565 bytes 24 Dir(s) 66,143,858,688 bytes free
4 Dev (0)->
It seems to work fine, as long as I'm only looking for output.
Bill
------------------------------------------------------------------------
[email protected] said the following on 10/23/2009 8:09 AM:
In *nix I've used cat. Not sure what the syntax would be in Windows.
Here's an attempt:
CMD = 'cat ':EMAIL.TEMPFILE:' | "C:\usr\lib\sendmail -t'
CMD = '"C:\usr\lib\sendmail -t < ':EMAIL.TEMPFILE:' > -"'
another option might be to see if sendmail has an option to take
it's input from a file, therefor eliminating the "<" altogether
U.S. BANCORP made the following annotations
---------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains
information that is, or may be, covered by electronic communications privacy
laws, and is also confidential and proprietary in nature. If you are not the
intended recipient, please be advised that you are legally prohibited from
retaining, using, copying, distributing, or otherwise disclosing this
information in any manner. Instead, please reply to the sender that you have
received this communication in error, and then immediately delete it. Thank you
in advance for your cooperation.
---------------------------------------------------------------------
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users