获取当前运行程序上一级目录指定文件夹,没有就创建文件夹
时间:2021-04-10 12:52:27
收藏:0
阅读:0
//获取当前运行程序上一级目录PDF文件夹 private string txtPath = System.AppDomain.CurrentDomain.BaseDirectory + "PDF\\"; //如果该文件下没有PDF文件夹就创建该文件夹 if (!Directory.Exists(txtPath)) { Directory.CreateDirectory(txtPath); }
评论(0)