Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Console App (current path)
Message
De
16/02/2006 17:26:16
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01096873
Message ID:
01096909
Vues:
18
This message has been marked as the solution to the initial question of the thread.
Hi Joe,

You might want to take a look at "Environment.CurrentDirectory" - this is in the System namespace.

HTH

-=Gary

>Hey guys in 2005 managed code how do you get the path an executable was called from if its in the path? Say for example my.exe lives in c:\myconsole-apps\my.exe but its called from c:\fubar\ the app is located using the path envar. I need to be able to get c:\fubar from the app. what happened to curdir? :(
>
>My humble thanks in advance,
>Joe
-=Gary
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform