To get the path where the executable is located use the following code:
Path.GetDirectoryName(Application.ExecutablePath);
The returned path does not contain a trailing backslash.
To add a filename or mask use Path.Combine
To get the path where the executable is located use the following code:
Path.GetDirectoryName(Application.ExecutablePath);
The returned path does not contain a trailing backslash.
To add a filename or mask use Path.Combine