Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting the directory name
Message
From
16/06/2001 10:02:48
 
 
To
16/06/2001 09:38:53
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00520254
Message ID:
00520256
Views:
21
>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("."))
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
Next
Reply
Map
View

Click here to load this message in the networking platform