Jochem,
Do you have an idea how I would use this solution from the server. I mean,
it works great on localhost, but I can't run this from the server because
the printer is installed locally.

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 10:19 AM
To: CF-Talk
Subject: Re: Using CFEXECUTE from a Web Browser???


Dave Cordes wrote:

> Windows XP
> ColdFusion MX

OK, so your process will always run for as long as the timeout specified.

> What did you mean by the "/c" parameter? Should I add that command in
> order to close the command?

Yes. But I usually make it the first option I specify:
<CFEXECUTE NAME="C:\WINDOWS\system32\cmd.exe"
   ARGUMENTS="/c copy C:\Inetpub\wwwroot\CFDEV\barcode\zebra.txt LPT"
   TIMEOUT="5">
   </CFEXECUTE>

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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to