The cfml.exe executes the template specified in the CF_TEMPLATE_PATH
environment variable. So first set this to the physical path to the CFML
template you want to execute. e.g.
set CF_TEMPLATE_PATH=c:\inetpub\wwwroot\temp\test.cfm
then run cfml.exe
c:\cfusion\cfml.exe
You can also pass query strings using the environment variable
QUERY_STRING. BTW, tis a good idea to always set this to something (even a
blank string) to make sure you are not passing a query string set for one
template into another.
More info:
http://www.allaire.com/Handlers/index.cfm?ID=3328&Method=Full
Mark
At 06:04 PM 18/04/2001, you wrote:
>What is the syntax to use to execute a cfm page directly from the commmand
>line? Something like cfml.exe /path/to/template.cfm?
>
>(Win2000, CF4.5)
>
>Also, where does the output go of the page when you do this?
>And, does RequestTimeout have any use here, or will the process run as
>long as it takes...?
>
>
>Tony Schreiber, Senior Partner Man and Machine, Limited
>mailto:[EMAIL PROTECTED] http://www.technocraft.com
>
>http://www.simplemessageboard.com ___Free Forum Software for Cold Fusion
>http://www.is300.net ___________The Enthusiast's Home of the Lexus IS300
>http://www.digitacamera.com ______________DigitA Camera Scripts and Tips
>http://www.linklabexchange.com _____________Miata Link ECU Data Exchange
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists