Jochem,
Here are the server specs:
Windows XP
ColdFusion MX
What did you mean by the "/c" parameter? Should I add that command in order
to close the command?
Like this?
<CFEXECUTE NAME="C:\WINDOWS\system32\cmd.exe"
ARGUMENTS="copy C:\Inetpub\wwwroot\CFDEV\barcode\zebra.txt LPT1
/c"
TIMEOUT="5"></CFEXECUTE>
Dave Cordes
Senior ColdFusion Developer
636-939-1081 (H)
636-578-4235 (M)
-----Original Message-----
From: Jochem van Dieten [mailto:jochemd@;oli.tudelft.nl]
Sent: Thursday, October 24, 2002 3:05 AM
To: CF-Talk
Subject: Re: Using CFEXECUTE from a Web Browser???
Dave Cordes wrote:
> I checked and ColdFusion is logged in as the "Local System Account" so
> I don't think it could be a permissions problem.
I'm not so sure about that.
> I found some other posts on the ColdFusion Support Forums that would
> lead me to believe that your second point about timing out is the
> cause. Here is the link that talks about it.
2 issues:
CF MX always waits for the entire period specified in the timeout
instead of the shortest of the timeout and the process finishing (but
you still haven't told us which version/OS/servicepack you use).
Every version of CF will wait forever on your specific code because if
you call cmd.exe you need the /c parameter.
> I read somewhere that Macromedia has no current plans to fix it so
> that's not a good sign.
http://www.macromedia.com/support/email/wishform/?6213=3
Jochem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.