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