Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting the directory name
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00520254
Message ID:
00521026
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform