C# how do I create a code for folder location?

I have a program that uses a file located in D:\Files\program\file.wav Howerver, when I pass the program to another computer, the computer has it in another folder, ex. D:\Program Files\program\file.wav and the code cannot find it. How do I make the program search for the file in its own... show more I have a program that uses a file located in
D:\Files\program\file.wav
Howerver, when I pass the program to another computer, the computer has it in another folder, ex. D:\Program Files\program\file.wav and the code cannot find it. How do I make the program search for the file in its own folder without writing the whole path?
5 answers 5