Possible Duplicate:
C# Executable Executing directory
I used 2010 Visual C# Express to write a little windows form .exe. How do I get the program to "know" what directory it's running from so that it can read/write from/to whichever directory the user has put my .exe in? Basically, I want my little .exe to be "portable", where it doesn't matter which folder/directory it's in, and yet it can "know" where all its files are.