Thanks Rob. That is exactly what I needed.

>Jared:
>
>You can't necessarily force Notepad, but you can output the text file as an
>attachment and allow the end user to open it in his or her default app
>associated with TXT files.
> 
>Give this a shot:
>
><cfheader name="Content-Disposition" value="attachment; filename=file.txt">
><cfcontent type="text/plain" file="C:\filepath\file.txt"> 
>
>Make sure you do not output anything else to the browser... including
>whitespace and debugging info.
>
>Rob 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289329
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to