With a C# console app. I want to read in text files held in a sub-folder call "/scripts". Obvious I don't want to hard-code a physical path. Is there a way to make relative reference to the file path? Or is there a better way to do this ?
string filepath = "scripts\\" + p_sproc_name + ".sql";
TextReader tr = new StreamReader(filepath);