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 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

