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 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 your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to