Hi,
Is it possible to take a CFMX mapping (say /external to
c:/datafiles/word/external) and use this in the cfile action=read
file=fullPath tag? The mapping should be converted to a full path but since
CFMX already knows this, it should be possible right?
Thanks
expandPath will do this.
On 7/27/07, marc -- [EMAIL PROTECTED] wrote:
Hi,
Is it possible to take a CFMX mapping (say /external to
c:/datafiles/word/external) and use this in the cfile action=read
file=fullPath tag? The mapping should be converted to a full path but
since CFMX already
expandPath('/external')
Jake Pilgrim
Hi,
Is it possible to take a CFMX mapping (say /external to
c:/datafiles/word/external) and use this in the cfile action=read
file=fullPath tag? The mapping should be converted to a full path
but since CFMX already knows this, it should be possible
Put this in your application.cfm in your / directory:
CFSET application.webRootDir =
getDirectoryFromPath(applicationTemplatePath)
This will give you the physical path for your / directory.
From there, you can get anything you need.
--
___
REUSE
4 matches
Mail list logo