在C#里面获得应用程序的当前路径
摘要:Environment.CurrentDirectory——获取应用程序的当前工作目录。System.IO.Directory.GetCurrentDirectory()AppDomain.CurrentDomain.BaseDirectory——这两个只能在WindowForm中使用;Application.StartupPathApplication.ExecutablePath--获取和设置当前目录(即该进程从中启动的目录)的完全限定路径。Environment.CurrentDirectory--获取启动了应用程序的可执行文件的路径,包括可执行文件的名称。Application.Exe
阅读全文
posted @
2013-08-22 14:39
qqhfeng16
阅读(328)
推荐(0) 编辑