ListDeleteAt(thisDirectory,ListLen(thisDirectory,"/\"),"/\")>
Not tested
You are aware that ExpandPath will give you the path starting from the
template called by the request? This may not be the directory of the
template where the code is (if you are in an include in a different
directory)!
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 Questio
Mickael,
On 3/17/2004 at 11:16, you wrote:
M> I use this code to find the current folder that I am in for cfdirectory
M>
M>
M> How do I get the folder the that is up one level?
~ Ubqtous ~
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
3 matches
Mail list logo