Get relative path : Directory : File Directory Stream C# Examples


C# Examples » File Directory Stream » Directory »

 

Get relative path









    
using  System;
using  System.IO;

static  class  MainClass
{
        static  void  Main()
        {
                Console.WriteLine("The  relative  path  'file.txt'  "  +  Path.GetFullPath("file.txt"));
        }
}
    
   
  
   



Output

c:\file.txt


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo File Directory Stream
» Directory