Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Console App (current path)
Message
From
17/02/2006 10:06:37
 
 
To
16/02/2006 17:26:16
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01096873
Message ID:
01097056
Views:
10
Thanks Gary, This was precisely what was needed. I was barking down the wrong proverbial tree. :)

3 stars,
Joe

>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
~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

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform