i know how dir folder, i'd name.
thank help.
a more efficient method doing @matt shooks suggests use list functions directly, rather convert array (since need reference once).
fullpath = getdirectoryfrompath(getcurrenttemplatepath())
assuming on windows, , fullpath looks c:\inetpub\site\dir, can use this:
thisfolder = listlast(fullpath, "\/")
remember list functions can take delimiter (optionally) can treat string delimited list, not default comma-delimited lists.
Comments
Post a Comment