<cfset currentDirectory = expandPath('./') />

Regards
Dale Fraser

http://learncf.com


-----Original Message-----
From: Steve Sequenzia [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 18 October 2007 10:07 AM
To: CF-Talk
Subject: Current directory of page

I am trying to figure out if it is possible to tell the name of the
directory that the viewed page is in. I have been playing with cfdirectory
and I cannot figure it out.

What I mean if this is the file c:\inpub\wwwroot\website\about-us\index.cfm
I want to read the about-us and make it a variable on the page.

Anyone know if this is possible?

Thanks! 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291381
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to