摘要: 以下汇总了.NET(包括ASP.NET/WinForm等)获取当前路径的各种方法 //获取当前进程的完整路径,包含文件名(进程名)。 string str = this.GetType().Assembly.Location; result: X:\xxx\xxx\xxx.exe (.exe文件所在 阅读全文
posted @ 2024-04-23 17:29 乐 乐——1128 阅读(81) 评论(0) 推荐(0) 编辑