I have 2 files, first is the current running application (file1.exe) and the second is just another file of any type (file2.*)
How can I check in the source code of file1.exe if the second file is in the same directory where the first file is executed?
I am familiar with File.Exists(path) so I think this boils down on finding out a method that will return the directory where the first file is ran.
That should do it