18年1个月前IP:未同步
56363
5楼
这是我写的一个批处理,一样的效果,遍历所有盘符,呵呵


@echo off
for %%i in (c d e f g h i j k l m n o p q r s t u v w x y z) do call [s:3]isabledAutoRun %%i
goto End

[s:3]isabledAutoRun
del %1:\\AutoRun.inf /a /f /q
rd %1:\\AutoRun.inf /s /q
mkdir %1:\\AutoRun.inf
mkdir %1:\\AutoRun.inf\\abc..\\
attrib %1:\\AutoRun.inf +h +r
goto :EOF

:End
Taskkill /f /im explorer.exe
pushd %Windir%
start "启动EXPLORER" %windir%\\explorer.exe


保存成.cmd就行了
评论
文号 / 56363

千古风流
名片发私信
学术分 2
总主题 18 帖总回复 186 楼拥有证书:学者 机友 笔友
注册于 2008/10/30 03:16:00最后登录 2024/04/13 02:34:11
主体类型:个人
所属领域:无
认证方式:手机号
IP归属地:0

个人简介

技术宅

笔记
{{note.content}}
{{n.user.username}}
{{fromNow(n.toc)}} {{n.status === noteStatus.disabled ? "已屏蔽" : ""}} {{n.status === noteStatus.unknown ? "正在审核" : ""}} {{n.status === noteStatus.deleted ? '已删除' : ''}}
  • 编辑
  • 删除
  • {{n.status === 'disabled' ? "解除屏蔽" : "屏蔽" }}
我也是有底线的