>I like to know how can I get out of IIS Server the current directory.
>
>I have this web site where we found many subdirectory. When the user is going from one directory to another I need to check for the access ( virtual access).
>
>How can I get the current directory from IIS?
Dim oFSO,loFolder,lcMonthly
Set oFSO=CreateObject("Scripting.FileSystemObject")
' Extract the folder name
Set loFolder=oFSO.GetFolder(Server.MapPath("."))
lcMonthly=loFolder.Name