1. 通过windows attrib 命令获取文件隐藏属性复制代码 代码如下:Syntax ATTRIB [ + attribute | – attribute ] [pathname] [/S [/D]] Key + : Turn an attribute ON – : Clear an attribute OFF pathname : Drive and/or filename e.g. C:\*.txt /S : Search the pathname including all subfolders. /D : Proc