I have a txt file located in the application folder, in visual studio i just write "File.read("doc.txt")", however i would like to place the txt file outside of the applications folder
e.g right now its located in
c:\Desktop\Folder\application\doc.txt
and i want to place the doc.txt
inside c:\desktop\folder
and read it from there without specifying the exact path of the txt file as folder might be moved to another drive e.g inside D drive D:\desktop\folder
if the user moves the folder and my hard code is "file.read("C:\desktop\folder\doc.txt")" its going to throw an error, so how is there anyway to read a file that is one location above the applications main Folder?