Dim fileInfo As New IO.FileInfo("c:\boot.ini")
fileInfo.Attributes = fileInfo.Attributes And Not IO.FileAttributes.Hidden'去掉隐藏属性
fileInfo.Attributes = fileInfo.Attributes Or IO.FileAttributes.Hidden'增加隐藏属性
[此贴子已经被作者于2016-10-14 11:19编辑过]
===================================================
讨厌C#的行尾的小尾巴;和一对大括号{ }
===================================================