当前位置:主页 > 软件编程 > ASP代码 >

asp获取虚拟目录根路径的代码

时间:2021-06-20 08:49:44 | 栏目:ASP代码 | 点击:

核心代码:

<%
TempArray = Array("account_book","admin","ajaxFile","catalog","excel","excel_stu","frame","inc","lib","pub", "stock","student","sygl","temp","windows")
url= LCase(Server.MapPath("./"))
for i=0 to UBound(TempArray)
url=Replace(url,"\"&TempArray(i),"")
Next
response.write url
%>

您可能感兴趣的文章:

相关文章