摘要: C#中得到程序当前工作目录和执行目录的五种方法string str="";str += "\r\n" + System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName;str += "\r\n" + System.Environment.CurrentDirectory;str += "\r\n" + System.IO.Directory.GetCurrentDirectory();str += "\r\n" + Syst 阅读全文
posted @ 2013-03-27 16:45 tian_z 阅读(6688) 评论(0) 推荐(0) 编辑