string exePath = AppDomain.CurrentDomain.BaseDirectory; // returns the directory where the .exe is located