Tyler, if youre asking for the root of your application, then stick this in
application.cfm.  
<cfset toppath=ListDeleteAt(GetCurrentTemplatePath(),
listlen(GetCurrentTemplatePath(),'\'),'\')>
If you actually want the webroot, then you have to fiddle with one of the
cgi vars and compare it to your machine root. 
DRE

-----Original Message-----
From: Tyler Silcox [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, September 19, 2002 2:32 PM
To: CF-Talk
Subject: Grab ColdFusion's root?


I'm trying to set a few variables for global use and was wondering if
there's any (simple) way to grab the value ColdFusion's root folder...TIA->

Tyler Silcox
email | [EMAIL PROTECTED]



______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to