日期:2014-05-19  浏览次数:20683 次

win的,如何获得程序的当前路径啊!
rt

------解决方案--------------------
Application.StartupPath
------解决方案--------------------
Environment.CurrentDirectory

Application.StartupPath

Application.ExecutablePath (包括可执行文件名称)

------解决方案--------------------
如果是WEB.话
就是
server.mapPath( ". ")