I maybe missing the whole point... how about this? wrapping the cfm page into cfsavecontent var=foo and then cffile write foo into the html file?
it's Sunday, don't hold it against me:-)) Birgit Friday, June 27, 2003, 5:14:27 PM, you wrote: DKac> You could write a cfm page that does a CFHTTP call to your CF script and save the results to an HTML file. If you need this to run automagically, you could use the scheduler. DKac> Doug >>-----Original Message----- >>From: cf talk [mailto:[EMAIL PROTECTED] >>Sent: Friday, June 27, 2003 5:11 PM >>To: CF-Talk >>Subject: RE: used to use cfml.exe but MX doesn't have it... >> >> >>Steve, >> >>I would love to not use a bat file. I just don't know how to >>create an html file from the data of a CFM page. >> >>Brian >> >> >>Brian, >> >>I asked this question before. Short answer... Can't be done. >>CFMX is now >>entirely Java. No more cfml.exe. >> >>I'm sure that there is probably some way to make it work, but instead I >>found another way to do what I wanted. Do you have to do it >>in a batch file >>or can you find another way to do it? >> >>Also, many people suggested using wget to run it. I believe >>that they said >>it was a free program. >> >>What is does is pretend to be a web browser and hit the page. >> >>Steve >> >> >>-----Original Message----- >>From: cf talk [mailto:[EMAIL PROTECTED] >>Sent: Friday, June 27, 2003 4:29 PM >>To: CF-Talk >>Subject: used to use cfml.exe but MX doesn't have it... >> >> >>I had a bat file that created an HTML page based off of the >>running of a CFM >>page. With MX, it doesn't work anymore. Can anyone look at what I was >>doing and give me some direction? >> >> >>Bat file: >> >> >>REM *** set variable to contain URL variables >>set QUERY_STRING="PASSEDNAME=a0002" >> >>REM *** set variable to call specific CF template >>set CF_TEMPLATE_PATH=c:\Dir\gmd_hp_jms_critical_path_summ_html.cfm >> >>REM *** Run template into a tmp file >>@for /f "usebackq skip=5 tokens=*" %%i in >>(`c:\CFusion\BIN\cfml`) do @echo+ >>%%i>>"c:\Dir\gmd_hp_jms_critical_path_summ.tmp" >> >>REM *** Copy from the tmp file into the html file >>copy "c:\Dir\GMDUtilities\gmd_hp_jms_critical_path_summ.tmp" >>"c:\Dir\GMDUtilities\gmd_hp_jms_critical_path_summ.html" >> >>REM *** Delete the tmp file if it is there >>if exist "c:\Dir\gmd_hp_jms_critical_path_summ.tmp" del >>"c:\Dir\gmd_hp_jms_critical_path_summ.tmp" >> >> >> >>Thanks, >> >>Brian Yager >>President - North Alabama >>Cold Fusion Users Group >>http://www.nacfug.com >>Ground-Based Midcourse Defense JPO >>Contractor CSC >>(256)313-9668 >>[EMAIL PROTECTED] >> >> >> >> DKac> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

