Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

asp classic: getting current path of a file located in a administrative folder

Tags:

asp-classic

i have a file located at a folder whose full path is something like this:

\mymachine\mydrive$\Inetpub\wwwroot\myfolder

is it possible through asp serverVariables to get the same value? i'm afraid of exposing the path above in my source code. thanks!

like image 527
user571099 Avatar asked Jun 26 '12 00:06

user571099


1 Answers

in case anyone is wondering i found the solution. i used

Server.MapPath(".")
like image 130
user571099 Avatar answered Sep 26 '22 23:09

user571099