If it is a literal (the actual name) then put it in quotes. If it is a variables which contains the file name, then no quotes are needed. No pound signs are need either though, since the variable name is a function argument and will be evaluated automatically as long as it is not in quotes.
~Brad -----Original Message----- From: Charlie Hanlon [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 17, 2006 10:33 AM To: CF-Talk Subject: fileexists() When using <cfif fileexists(variables.myFileName)>, does the variable need to be in quotes or surrounded by pounds signs? thanks in advance, Charlie Hanlon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229774 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

