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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289324
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