摘要: C#获取当前应用程序所在路径及环境变量 一、获取当前文件的路径 string str1=Process.GetCurrentProcess().MainModule.FileName;//可获得当前执行的exe的文件名。 string str2=Environment.CurrentDirector 阅读全文
posted @ 2014-08-23 13:21 oliverary 阅读(1957) 评论(0) 推荐(0)