-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,914
  • 18
  • 23
Nate Pet
  • 44,246
  • 124
  • 269
  • 414

1 Answers1

1

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

string driveLetter =  Server.MapPath("~/Docs");
Sachin
  • 40,216
  • 7
  • 90
  • 102