2012年7月26日
摘要: /获取程序的基目录。System.AppDomain.CurrentDomain.BaseDirectory//获取模块的完整路径。System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName//获取和设置当前目录(该进程从中启动的目录)的完全限定目录。System.Environment.CurrentDirectory//获取应用程序的当前工作目录。System.IO.Directory.GetCurrentDirectory()//获取和设置包括该应用程序的目录的名称。System.AppDomain.Current 阅读全文
posted @ 2012-07-26 16:07 小东北 阅读(227) 评论(0) 推荐(0) 编辑