get the directory a file is in.

2001-04-24 Thread river
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

Re: get the directory a file is in.

2001-04-24 Thread David E. Crawford
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

Re: get the directory a file is in.

2001-04-24 Thread Howie Hamlin
] 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

Re: get the directory a file is in.

2001-04-24 Thread jeff tapper
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

Re: get the directory a file is in.

2001-04-24 Thread Tony Schreiber
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.

Re: get the directory a file is in.

2001-04-24 Thread Bryan LaPlante
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