教一个命令:
disk:\> help attrib > attrib.txt
---------------------attrib.txt-----------------------
displays or changes file attributes.
attrib [+r | -r] [+a | -a ] [+s | -s] [+h | -h] [drive:][path][filename]
[/s [/d]]
+ sets an attribute.
- clears an attribute.
r read-only file attribute.
a archive file attribute.
s system file attribute.
h hidden file attribute.
[drive:][path][filename]
specifies a file or files for attrib to process.
/s processes matching files in the current folder
and all subfolders.
/d processes folders as well.
一般病毒会把自己搞成系统的、隐藏的、只读的文件,则
disk:\>attrib -s -r -h 可能的病毒文件
分辨出哪个该杀后直接del就可以了
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
批处理ren重命名的方式
批处理之ren命令-可批量修改文件名1.批处理批量修改文件后缀名(假设我需要把一个文件夹中的很多txt文件改为sql文件): 1)在需要被处理的文件的文件夹里先...
[阅读全文]
-
-
-
-
-
-
-
-
-
网友评论