怎样设置文件夹的属性是隐藏和只读啊? 就是创建一个文件夹以后怎样设置成隐藏和只读的属性啊? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 System.IO.FileInfo f = new System.IO.FileInfo(@"c:\as.txt"); f.Attributes =System.IO.FileAttributes.Hidden; IO.DirectoryInfo f = new IO.DirectoryInfo("c:\\test"); f.Attributes = IO.FileAttributes.ReadOnly | IO.FileAttributes.Hidden; f = null; 运行cmd,然后attrib +h +r C:\test 怎么实现c#上位机和下位机单片机的通信 谁能给我解释一道笔试题 求一SQL语句 DataTable 添加行的问题 C# 调用Oralce函数、存储过程的返回值(游标)。。。 c#出错。。Response is not available in this context 关于学C# 用C#写的windows应用程序,是不是运行的机子上必须有.net 问几个基础问题。 一个月没上网,想念大家,大家进来聊一聊,认识一下,散分送朋友,, 求救 js 付值的问题(.net 3.5) 【小小面试题3】天天面试,自信心崩溃了,今天遇到不会的题目如下(上海)
f.Attributes =System.IO.FileAttributes.Hidden;
IO.DirectoryInfo f = new IO.DirectoryInfo("c:\\test");
f.Attributes = IO.FileAttributes.ReadOnly | IO.FileAttributes.Hidden;
f = null;