Is there a way to get the name of the directory a file that is being
processed is in?
Let's say, in a file
C:\wwwroot\1234\index.cfm
is there a way to retrieve C:\wwwroot\1234\ part in the index.cfm file?
Thanks for any help.
~~
Structure
Try the GetBaseTemplatePath() function.
DC
- Original Message -
From: river [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, April 24, 2001 14:55
Subject: get the directory a file is in.
Is there a way to get the name of the directory a file that is being
processed
]
To: CF-Talk [EMAIL PROTECTED]
Sent: Tuesday, April 24, 2001 2:55 PM
Subject: get the directory a file is in.
Is there a way to get the name of the directory a file that is being
processed is in?
Let's say, in a file
C:\wwwroot\1234\index.cfm
is there a way to retrieve C:\wwwroot\1234\ part
try GetCurrentTemplatePath() and / or GetBaseTemplatePath()
depending on customtag usage.
At 02:55 PM 4/24/01 -0400, you wrote:
Is there a way to get the name of the directory a file that is being
processed is in?
Let's say, in a file
C:\wwwroot\1234\index.cfm
is there a way to retrieve
ExpandPath('relativepath/filebeingrun.cfm')
Is there a way to get the name of the directory a file that is being
processed is in?
Let's say, in a file
C:\wwwroot\1234\index.cfm
is there a way to retrieve C:\wwwroot\1234\ part in the index.cfm file?
Thanks for any help.
10:04 PM
Subject: Re: get the directory a file is in.
ExpandPath('relativepath/filebeingrun.cfm')
Is there a way to get the name of the directory a file that is being
processed is in?
Let's say, in a file
C:\wwwroot\1234\index.cfm
is there a way to retrieve C:\wwwroot\1234\ part
6 matches
Mail list logo