Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting the directory name
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00520254
Message ID:
00521026
Views:
17
>You don't need to use the FileSystemObject to do this. There is a member of the ServerVariables collection in the Request object that stores the complete path and file name of the page you are on. Using this and a some string manipulation you can come up with the directory name of the current page being viewed:

Thanks

As I already have to use the FileSystemObject() in that page, it only takes me one additional line to extract the current directory. So, I'll keep that approach. Otherwise, I'd take this one.
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