But how do I capture the results of the CFExecute?

Assuming I used something like:

<CFEXECUTE NAME="c:\imail\adduser.exe" ARGUMENTS="(whatever the arguments 
are)" TIMEOUT="5"></CFEXECUTE>

How do i analyze the results from the CFExecute to see if it worked?  From 
what I have tested with simple
BAT files & others, the results just get displayed on the screen (unlike a 
CFHTTP which stores the results
of the operation to CFHTTP.FileContent variable for analysis)

Do I have to create a page like "adduser.cfm" which runs the CFEXECUTE, and 
then call it
from another page (master.cfm, for example), using a CFHTTP method="post" 
to the adduser.cfm
script, so I can capture the results?  Seems a little long-winded to two 
step it, but hey, if ya gotta, ya gotta....

While I've been doing CF for a while, I haven't had to use CFExecute 
before, so if
I'm missing something obvious, sorry !

Thanks

Chris





At 02:49 PM 6/12/2001, you wrote:
> > I've been looking through the documentation...  does anyone know if we can
> > create
> > virtual domains / POP Accounts / Aliases by manipulating the registry
>directly?
> > We're looking to skip the .pl or .exe or .bat scripts that are out there
>and
> > do it all in Cold Fusion against the registry itself.  The two problems I
> > see are...
>
>Call the adduser.exe and adddomain.exe files from your cold fusion script .
>Check your manual for the correct usage of adduser.exe and adddomain.exe
>
> > 1.  How would we encrypt the password to store it in the record for the
>POP
> > accounts,
>
>adduser.exe will do it for you.
>
> > 2.  Do we have to "restart" or "reset" the SMTP and POP services to
> > recognize new accounts /
>
>Nope
>
>
>
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.
>
>An Archive of this list is available at:
>http://www.mail-archive.com/imail_forum%40list.ipswitch.com/


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to