内容简介:这篇文章主要介绍了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
%>
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- python获取当前路径
- dotnet 获取程序所在路径的方法
- xcode – 如何在Mac上获取最新SDK的路径
- Scala在资源文件夹中获取文件的文件路径
- 用JavaScript实现basename获取路径中的文件名
- Spring Security 实现 antMatchers 配置路径的动态获取 原 荐
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
REST in Practice
Jim Webber、Savas Parastatidis、Ian Robinson / O'Reilly Media / 2010-9-24 / USD 44.99
Why don't typical enterprise projects go as smoothly as projects you develop for the Web? Does the REST architectural style really present a viable alternative for building distributed systems and ent......一起来看看 《REST in Practice》 这本书的介绍吧!