>From ASP, I would like to extract the directory name. How can I achieve that?
I found this but it returns the full path. If there is a simpliest way to retrieve just the name of the current folder, that would be ok.
Set oFSO=CreateObject("Scripting.FileSystemObject")
oFSO.GetFolder(Server.MapPath("."))