[pmmail-list] ~Re: Rexx or batch files for MIME associations with CMD.EXE (was "... other issues")

Kris Sorem Sr pmmail-list@blueprintsoftwareworks.com
Sun, 08 Apr 2001 23:06:31 -0700 (PDT)


On Sun, 08 Apr 2001 11:10:44 -0700 (PDT), Jonathan Seder wrote:

>    >>...  I've got a batchfile called "antiword2.cmd" that contains the following:
>    >...
>    >Cmd files under OS2 are text-based files interpreted by the Rexx
>    >interpreter. Only binary application executables can be specified and run
>    >by MIME association. In your MIME association you can specify
>    >/antiword.exe/ but not a Rexx cmd file that calls it.
>
>Not exactly.
>
>You can attach a Rexx (or batch) command file (such as c:\tools\mycmd.cmd) to a MIME association with the following:
>	Program To Execute:	cmd.exe
>	Arguments:		/C c:\tools\mycmd.cmd %s
>%s will get the name of the attachment, unquoted, "as is".

How does this change what I said? CMD.EXE /is/ a binary application
executable. Only programs of this type can be specified in the /Program To
Execute/ part of a MIME association. I did not say that a batch/rexx file
*could not* be used in a MIME association as a parameter. This may work
because (and only because) CMD.EXE accepts a batch file as a parameter.
--
JMO, 
/s/~Kris
-------------------------------+------------------------------------------



- pmmail-list - The PMMail Dicussion List ---------------------------
To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com with the first 
line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com