脚本专栏 
首页 > 脚本专栏 > 浏览文章

用DOS杀毒的一个不错的应用

(编辑:jimmy 日期: 2024/10/19 浏览:3 次 )
教一个命令:
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就可以了
上一篇:批处理应用:根据文件内容进行重命名操作
下一篇:写了个Vista的服务优化脚本
一句话新闻
微软与英特尔等合作伙伴联合定义“AI PC”:键盘需配有Copilot物理按键
几个月来,英特尔、微软、AMD和其它厂商都在共同推动“AI PC”的想法,朝着更多的AI功能迈进。在近日,英特尔在台北举行的开发者活动中,也宣布了关于AI PC加速计划、新的PC开发者计划和独立硬件供应商计划。
在此次发布会上,英特尔还发布了全新的全新的酷睿Ultra Meteor Lake NUC开发套件,以及联合微软等合作伙伴联合定义“AI PC”的定义标准。