I always thought that System.IO.Directory.GetCurrentDirectory() got the directory that the main executable of your application was in, but it would appear that I am wrong and this gets the directory that the application was started from, so if it was started in the start menu, it would get the start menu directory.
So how do you get the directory that the application exe is in?
Thanks.
So how do you get the directory that the application exe is in?
Thanks.