It works on *nix, but not Windows.

Andy

Quoting "Schreck, Thomas (PPC)" <[EMAIL PROTECTED]>:

> I'm a little perplexed about expandpath.  I have a CF mapping to a
> folder outside of my webroot.  I tried using expandpath("/[CF MAPPING
> NAME]") thinking it would resolve to the path entered for mapping in CF
> Admin.  It returns the webrootpath/[CF MAPPING Name].
> 
>  
> 
> CF Mapping:
> 
> /MYSQL    C:\_Components\MYSQL
> 
>  
> 
> ExpandPath() Returns:
> 
> c:\inetpub\wwwroot\MYSQL
> 
>  
> 
> Expected:
> 
> C:\_Components\MYSQL
> 
>  
> 
> If expandpath only works against webroot, then what's the point of
> having CF Mapping (I know it is used for cfmodules, cfincludes,...)?  Is
> there a way to retrieve the path the mapping represents? 
> 
>  
> 
> Thanks - Tom
> 
> 


-- 
[EMAIL PROTECTED]
www.creative-restraint.co.uk

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to