-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,885
  • 16
  • 22
Nate Pet
  • 38,422
  • 114
  • 251
  • 393

1 Answers1

1

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

string driveLetter =  Server.MapPath("~/Docs");
Sachin
  • 37,535
  • 7
  • 82
  • 97