Share via

Finding .txt file

Matthew145 1 Reputation point
2021-03-10T17:47:10.933+00:00

I have a common problem. How to find and open .txt file in C# on any computer? Normally I use: "Process.Start(file localization);" , but if someone install my program there wouldn't have a same file path. Is there way to achieve the installation folder with .txt file?

Developer technologies | Universal Windows Platform (UWP)

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.