CGI.PATH_INFO will get you started, then do a find on thisDirectory to get
the location. Go from there and find the previous forward slash.


HTH,


Ryan

-----Original Message-----
From: Mickael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 17, 2004 10:16 AM
To: CF-Talk
Subject: Path Question

Hi All,

I use this code to find the current folder that I am in for cfdirectory

<cfset thisPath=ExpandPath("*.*")>
<cfset thisDirectory=GetDirectoryFromPath(thisPath)>

How do I get the folder the that is up one level?

Thanks

Mike
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to