Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Console App (current path)
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Console App (current path)
Divers
Thread ID:
01096873
Message ID:
01096873
Vues:
61
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
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform