BINGO! I think that was indeed the issue. I renamed the file variable and bam, no more error.
Thanks very much. Man, I love this list. Stefan On 30 Jun 2011, at 21:41, Stefan Richter wrote: > > Good point, I'll try with a different naming convention. > > Regards > > Stefan > > > > On 30 Jun 2011, at 18:10, Leigh wrote: > >> >>> <cfset file = "#Expandpath('./')#\test1.doc"> >>> <cfset doc.init("#file#")> >> >> Does #file# actually resolve to a string or a structure? Historically #file# >> was a reserved word like CFFILE. >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346003 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm