getBaseTemplatePath doesn't get me exactly what i need, but I found another way to get what I want. Esentially I wanted to be able to load an XML from a relative path that was below the webroot. Looking in the code for Tartan I found the something to the affect of this.
<cfsavecontent variable="xml"><cfinclude template="\application\config\config.xml" /></cfsavecontent> This works really well and can be called from within a cfc regardless of path context. On 2/15/06, Snake <[EMAIL PROTECTED]> wrote: > > That will return the path of whatever file is currently being executed. > I think you want GetBaseTemplatePath() > > Russ > > -----Original Message----- > From: Nathan Strutz [mailto:[EMAIL PROTECTED] > Sent: 15 February 2006 18:59 > To: CF-Talk > Subject: Re: finding the base of the application > > You could try #expandPath("/")# > It's not foolproof, but it should generally work. > > -nathan strutz > http://www.dopefly.com/ > > On 2/15/06, Joe Ferraro <[EMAIL PROTECTED]> wrote: > > I'm trying to figure out good way to find the base of the application, > > but I haven't come up with anything fool proof yet. > > > > lets say my application is > > > > C:\Inetpub\wwwroot\application\ > > > > How can I find the C:\Inetpub\wwwroot\ ? > > > > Thanks, > > > > Joe > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232380 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

