当前位置: 首页 > 图文教程 > 脚本技术 > DOS/BAT > 用DOS杀毒的一个不错的应用

DOS/BAT
用 Net 命令使局域网文件批量同步更新
如何用DOS命令删除顽固文件夹啊
dos下删除文件夹和文件的方法
Windows 2000下用DOS命令删除文件夹
批处理编程- -介绍
Ping命令详解 精简实用
DOS下FTP命令(FTP命令全集)
几个bat例子文件
最强的用批处理编写的病毒
批处理经典入门教程!(从不懂到高手)
Ghost常用参数详解
很详细的Ghost所有运行错误代码完全大揭秘
GHOST参数、命令操作指南
用批处理实现电脑自动关机
如何让批处理程序启动的时候最小化
如何让“>”显示出来批处理(dos)中的转义符号
批处理经常用到的bat推荐下
经过整理的一些dos/bat批处理教程
妙用脚本和批处理清除电脑中的痕迹
又一篇不错的批处理bat学习教程

DOS/BAT 中的 用DOS杀毒的一个不错的应用


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-11   浏览: 65 ::
收藏到网摘: n/a

教一个命令:
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就可以了