FileExists() using web-root, not absolute path...
Is there a way to use FileExists() with some sort of %webRoot% system variable, rather than me having to know the absolute path in advance? For example if my app is running on one machine where the webroot is C:\ColdFusion9\webroot\ and on another machine where it's E:\Inetpub\webroot, is there a way for me to write a single piece of code that will check for the existence of "%webroot%\webSite\myFile.cfm"?
I guess what I'm really looking for here, is a system variable called something like %webRoot% in ColdFusion 9... Does such an animal exist?
Thanks,
Laurence MacNeill
Mableton, Georgia, USA
