Respected Sir,
my Question is that when I am Opening my txt file i.e abc.txt so I want to get full path of only running or opening file in my computer I have done this
Process prs=Process.GetProcessByName("notepad");
foreach(Process p in prs)
{
p.Modules[0].FileName.ToString();
}
Which is giving me Notepad.exe path. I want my text file path like D:\abc.txt so i can get this.
Thank You