...
DirectoryInfo directory new DirectoryInfo D: year time.Substring , LocaleId if directory.Exists 不存在 directory.Create ...
2017-01-23 13:15 0 5111 推荐指数:
...
...
...
...
1.判断文件夹是否存在 if (!Directory.Exists(sPath)) { Directory.CreateDirectory(sPath); } //从指定路径中删除空目录。 2.判断文件是否存在 ...
...
using System.IO;string path = @"D:\accountDaoRu\"; if (Directory.Exists(path) == false) ...