using System; using System.IO; static class MainClass { static void Main() { Console.WriteLine("The relative path 'file.txt' " + Path.GetFullPath("file.txt")); } }
c:\file.txt