Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting the directory name
Message
De
16/06/2001 10:02:48
 
 
À
16/06/2001 09:38:53
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00520254
Message ID:
00520256
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform