How do you open a file from the root directory without have to type the complete path like C:\folder\subfolder\file.txt? I have
System.Diagnostics.Process.Start("file.txt");
It works fine when I type in the whole location but I need to send this file to another computer and it won't be in the same folder as it is now probably. I've tried moving the file around in the project folder and even put it in the debug folder with the .exe file.
I'm also using this same code to open a .exe file and I don't have to type in the whole path to get that, just file.exe. That works fine.