I am having trouble running a Visual FoxPro Executable via CFEXECUTE to
do some DBF maniupations on the Server -- the EXE is loaded as a service
and then is not released upon execution timeout as specified in the
CFEXECUTE statement (20 seconds) -- I included reference to an
outputfile but no
cfexecute name=c:\tmp\labor.exe
arguments=your_file
timeOut=10
/cfexecute
Tim Do [EMAIL PROTECTED] wrote:Hi All,
I'm trying to use the cfexecute tag to run an exe file.. but not having any
luck.
Here is what I have:
timeout = 5
I'm getting this error returned (happens no
I have experienced situations in which a program does not execute. It was
some time ago so I don't know if any of the updaters might have fixed it but
the program was image ALCHEMY.EXE (handmadesoftware.com) and it worked fine
in CF5... but wouldn't run in CFMX. I opted to use ImageMagick
* Team Allaire *
I don't think it's possible. CFEXECUTE does a single command line call. It
doesn't 'hold' the connection open at all. For that you need something like
COM (or the other CFOBJECT techs).
Anyone know how to use cfexecute
]
Sent: Wednesday, May 02, 2001 9:35 AM
Subject: Re: cfexecute problems
* Team Allaire *
I don't think it's possible. CFEXECUTE does a single command line call. It
doesn't 'hold' the connection open at all. For that you need something
like
I've attempted testing this on several similar configurations,
both my development and staging servers and am not getting
successful results. I've tried including a timeout here as well
with no luck.
My development and staging machines are both running 4.5.1 and
NT 4 SP5 (maybe 4.0 is the
mm... nope, still not working for me. In addition to
your example, I've also tried running it from a cmd.exe
shell - i.e.:
cfexecute name="c:\winnt\system32\cmd.exe"
arguments="net user testme testme /add"
/cfexecute
... still no dice.
I couldn't get it to work that way,
Correct me if I'm wrong, but isn't TIMEOUT=X required? I believe the docs
forget to mention it, but that could be your problem.
mm... nope, still not working for me. In addition to
your example, I've also tried running it from a cmd.exe
shell - i.e.:
cfexecute
Correct me if I'm wrong, but isn't TIMEOUT=X required? I
believe the docs forget to mention it, but that could be
your problem.
It worked fine without it for me.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
Dave and all,
I've gotten several helpful replies now but I'm still a little worried here.
Its starting to sound like this isn't a very good approach to my goal. I've
added some comments and thoughts inline below:
Is your CF service running as localsystem?
Yes, it is. I tested this on my
First time attempting to use this tag, so I would appreciate
a little help here. I am attempting to use CFEXECUTE to execute
a 'net user /add' command via CF and its silently failing to
create the account I specify. The server service is running
under the local system account.
You have
rketmatrix.com
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 11, 2000 8:37 PM
To: [EMAIL PROTECTED]
Cc: Ryan Hill
Subject: RE: CFEXECUTE Problems
First time attempting to use this tag, so I would appreciate
a little help here. I am attempting to
12 matches
Mail list logo