在系统开发项目的时候,经常会遇到需要使用asp操作,下面是错新技术频道小编带给大家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),"")Nextresponse.write url%>
相信大家看完了错新技术频道小编介绍的asp获取虚拟目录根路径的代码已经有了一个更深刻的理解,那么赶紧选择一些适合自己的内容参考吧!
新闻热点
疑难解答