Windows Command Line - Hiding a file or virus

Windows Command Line - Hiding a file or virus

attrib Attribute

h --> hidden

r --> read only

s --> system attribute

+/- --> set/clear

attrib +h Test.txt
attrib -h Test.txt

image-20201226070910507

attrib +r Test.txt
attrib -r Test.txt

image-20201226071217268

attrib +s Test.txt
attrib -s Test.txt

image-20201226071545926

attrib +h +r +s Test.txt #You can not find it anymore.
attrib -h -r -s Test.txt

image-20201226071944221

Unhide any file :

attrib -s -h /s /d
posted @ 2020-12-26 07:22  晨风_Eric  阅读(61)  评论(0编辑  收藏  举报