木子屋 Dnawo's BLOG

C#创建隐藏文件夹示例

👤 dnawo 📅 2016-09-28 👁 14828 👍 0 💬 0 🔄 来源:本站原创
图片

string path = @"D:\Temp\mzwu_com";
Directory.CreateDirectory(path);
File.SetAttributes(path, FileAttributes.Hidden); //没写错,就是File.SetAttributes

评论(0)

暂无评论。

验证码
评论需审核通过后显示
← 上一篇 检查Content-Type判断WebClient.Downlo… 下一篇 → 中国移动全球通4G飞享18套餐(2015标准版)资费