> I am trying to use a cfexecute to execute a sql bcp > command to write a file > out. It appears to work fine from the command line but > when I try to use > cfexecute I don't get an error but I don't get a file. All > my double quotes > are escaped with double quotes. Is there a way that I can > see what happens > when that is executed, like when I run it from the command > line?
> Jeremy When I've used cfexecute in the past, I've opted to use a batch file and use cfexecute to run the bat. I also make sure to use the full path of the bat to execute it because I'm never certain what path the cfexecute command executes relative to in the file system. Beyond that, there's a variable attribute in the cfexecute tag you can use to store the stdout content that's normally printed in the dos shell. http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000243.htm#1098 198 Just give it a variable name then output that variable in your cf page. s. isaac dealey 434.293.6201 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235760 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

