How do I get the full path for a given file?
e.g. I provide:
string filename = @\"test.txt\";
Result should be:
Full Fi
Try
string fileName = "test.txt"; FileInfo f = new FileInfo(fileName); string fullname = f.FullName;