// 设置为受保护的操作系统文件,并隐藏
attrib d:\n.txt +s +h

// 取消设置为受保护的操作系统文件,并取消隐藏
attrib d:\n.txt -s -h

 

相关文章: