I checked and ColdFusion is logged in as the "Local System Account" so I
don't think it could be a permissions problem. 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. I
read somewhere that Macromedia has no current plans to fix it so that's not
a good sign.

http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=7&threadid=
310075

Dave Cordes
Senior ColdFusion Developer
636-939-1081 (H)
636-578-4235 (M)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:cf-talk@;linenoize.com]
Sent: Wednesday, October 23, 2002 8:37 PM
To: CF-Talk
Subject: Re: Using CFEXECUTE from a Web Browser???


It's quite likely a permissions problem.  But another thing you can try is
to put the commands in a .BAT file and then execute the .BAT file.

Also note... I've experienced some "weirdness" with the CFEXECUTE command in
CFMX.  I wish I could explain it better than that but the main problem I was
having was that some programs (which worked in CF5) would not execute in
CFMX.  I also noticed that the "timeout" attribute was causing the program
to take that long to execute rather than executing and then returning back
to the calling template.  I'm not sure if this was addressed in the updater
patch or not.  I haven't tested it since.

-Novak

----- Original Message -----
From: "Dave Cordes" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 5:00 PM
Subject: Using CFEXECUTE from a Web Browser???


> Has anyone ever tried to use CFEXECUTE to execute a command?
>
> <CFEXECUTE NAME="C:\WINDOWS\system32\cmd.exe"
> ARGUMENTS="copy zebra.txt LPT1"
> TIMEOUT="5"></CFEXECUTE>
>
> We're trying to print barcodes from a Web browser and have been having
lots
> of problems. All it does is times out.
>
> I can go to a command prompt and type in "copy zebra.txt LPT1" and it
works
> fine.
>
> How can I do this using CFEXECUTE?
>
> Dave Cordes
> Senior ColdFusion Developer
> 636-939-1081 (H)
> 636-578-4235 (M)
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to