Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the current directory
Message
From
29/08/2002 16:12:02
 
General information
Forum:
Internet
Category:
Active Server Page
Miscellaneous
Thread ID:
00695160
Message ID:
00695163
Views:
13
This message has been marked as the solution to the initial question of the thread.
>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
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform