-2

I am trying to get the path. Not sure if it should be:

    string driveLetter =  Server.MapPath("~/Docs/");

or

    string driveLetter =  Server.MapPath("~/Docs");
Dan A.
  • 2,905
  • 17
  • 23
Nate Pet
  • 41,226
  • 116
  • 259
  • 398

1 Answers1

1

If you want physical file path of Docs folder then just use

string driveLetter =  Server.MapPath("~/Docs");
Sachin
  • 39,043
  • 7
  • 86
  • 102