Hello All, and Happy New Year, I'm sure this is probably a basic question but ....
(CF5 on Windows) Given the following (psuedo) code: cfset Request.ThisDirectory = #GetDirectoryFromPath(GetCurrentTemplatePath())# which returns something like: D:\Server\webroot\www.somesite.com\somedirectory\ >From here, what is the easiest way to get just "somedirectory" without the path and slashes? Please CC me directly as I get the digest version of the list. TIA, Mike _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus