Sure - use the GetCurrentTemplatePath function.

HTH,

Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server

----- Original Message -----
From: "river" <[EMAIL PROTECTED]>
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 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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to