摘要: System.IO.Directory.GetCurrentDirectory()方法用于获得应用程序当前工作目录。System.Windows.Forms.Application.StartupPath 获得应用程序的可执行文件的路径,不含文件名StartupPath 可执行文件固定就不会变,可用于定位GetCurrentDirectory 不一定是可执行文件所在目录,因启动的位置而变如有两个程... 阅读全文
posted @ 2010-11-22 14:59 $walker 阅读(647) 评论(0) 推荐(0)