> Use CFEXECUTE to call a .bat file and even pass params: > > Thank Simon Horwith for this one. In this case, if > testing.cfm stated <cfoutput> #url.testing# </cfoutput> and I > called the batch file like so: "test.bat hello", CF would > output hello. Of course, when it comes to command line > calling of cfml.exe, you don't generally try to generate > output like this, you create files and manipulate data. > > <!--- This is an example .bat file ---> > > SET QUERY_STRING=%1 > SET > CF_TEMPLATE_PATH=\\uncPath\D$\Inetpub\wwwroot\testing\cfml.exe > \testing.cfm > E:\CFUSION\BIN\CFML.EXE
That won't work with CF MX, since there's no CFML.EXE stub for running programs via CGI. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

