Windows DOC命令attrib隐藏文件的方法

attrib查看或修改文件或目录的属性 【A:存档 R:只读 S:系统 H:隐藏】

  • 语法:
ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [+O | -O] [+I | -I] [+X | -X] [+P | -P] [+U | -U] [drive:][path][filename] [/S [/D]] [/L]
  • 隐藏文件
attrib +h +s  filename 
  • 取消文件隐藏
attrib -h -s  filename 

猜你喜欢

转载自blog.csdn.net/weixin_43824520/article/details/125119263