Quantcast
Channel: 木子屋 - Win编程
Viewing all articles
Browse latest Browse all 206

C#创建隐藏文件夹示例

$
0
0


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


Viewing all articles
Browse latest Browse all 206

Trending Articles