摘要: 1、获得当前运行程序的路径 1 string rootPath = Directory.GetCurrentDirectory(); 2、获得该文件夹下的文件,返回类型为FileInfo 1 string path=@"X:\XXX\XX"; 2 DirectoryInfo root = new D 阅读全文
posted @ 2021-03-08 15:06 博客YS 阅读(63) 评论(0) 推荐(0) 编辑