How do I convert a path from my drive to an application path? Currently I am creating and accessing files on my hard disk (eg: “D:\MyFolder\MyDoc.doc”). I want this path inside my console application folder. I know I can use Server.MapPath for ASP.NET applications. What about console applications?
How do I convert a path from my drive to an application path? Currently
Share
EDITED
If you want to read file from your current folder
or you want to get directory path