获取当前正在执行的服务器应用程序根目录的物理文件系统路径

WebForm
System.Web.HttpContext.Current.Request.PhysicalApplicationPath
WinForm
AppDomain.CurrentDomain.BaseDirectory
posted on 2007-08-30 10:50  一路前行  阅读(429)  评论(0编辑  收藏  举报