摘要: 1.获取和设置当前目录的完全限定路径。string str = System.Environment.CurrentDirectory;Result: C:\xxx\xxx2.获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称。string str = System. Windows .Forms.Application.StartupPath;Result: C:\xxx\xxx3.获... 阅读全文
posted @ 2009-08-12 12:45 Alexander 阅读(703) 评论(0) 推荐(0)