|
This should do it!
listLast(GetDirectoryFromPath(GetCurrentTemplatePath()),'/')
L.
From: James Buckingham
[mailto:[EMAIL PROTECTED]
Afternoon guys,
Just a quick question today. How do I find out the current directory that my Cold Fusion file is currently sitting in.
For example, if I have a Cold Fusion file called test.cfm at the following address:
and I wanted to extract the folder name 'home' from here and insert it into my variable how would I do that?
Cheers in advance. JamesB |
- [ cf-dev ] Current Directory James Buckingham
- RE: [ cf-dev ] Current Directory Lucas Sherwood
- RE: [ cf-dev ] Current Directory Robertson-Ravo, Neil (RX)
- RE: [ cf-dev ] Current Directory James Buckingham
- RE: [ cf-dev ] Current Directory Adams, Frank
- RE: [ cf-dev ] Current Directory Adams, Frank
- RE: [ cf-dev ] Current Directory Robertson-Ravo, Neil (RX)
- RE: [ cf-dev ] Current Directory James Buckingham
- RE: [ cf-dev ] Current Directory Adams, Frank
- RE: [ cf-dev ] Current Directory James Buckingham
