C# 创建文件夹

string path = @"d:\test";
            if (false == System.IO.Directory.Exists(path))
            {
                //创建pic文件夹
                System.IO.Directory.CreateDirectory(path);
            }

 

posted @ 2019-09-16 14:53  饮木  阅读(309)  评论(0编辑  收藏  举报