Does anyone know how I can get the location of where my asp file is located on my server (in asp)?
Like: "D:\Webserver\wwwserver1\mysite\www\myfolder"
Thanks
Neil
Printable View
Does anyone know how I can get the location of where my asp file is located on my server (in asp)?
Like: "D:\Webserver\wwwserver1\mysite\www\myfolder"
Thanks
Neil
I think it is Server.MapPath(Request.ServerVariables("SCRIPT_NAME")).
Response.Write Server.MapPath("yourpage.asp")
Thanks guys its going now :)