如何重启删除工具
[10-10 20:46:00] 来源:http://www.88dzw.com 电脑维护 阅读:8398次
文章摘要:有的时候用户需要用到删除工具,但它用被禁止了;那我们应该怎样重启删除工具?首先我们看着用重启删除代码: @echo off & setlocal EnableDelayedExpansion:startclscolor 0Atitle 重启删除--by逍遥@浪子@echo MsgBox "亲爱的朋友,请导入删除列表到list.txt后按回车执行重启删除任务!", 64, "友情提示--by 逍遥@浪子@" >>tishi.vbsecho. >>list.txt & rd /s /q bakup & md bakupstart li
如何重启删除工具,标签:电脑维护知识,电脑维护常识,http://www.88dzw.com有的时候用户需要用到删除工具,但它用被禁止了;那我们应该怎样重启删除工具?首先我们看着用重启删除代码:
@echo off & setlocal EnableDelayedExpansion
:start
cls
color
title 重启删除--by逍遥@浪子@
echo MsgBox "亲爱的朋友,请导入删除列表到list.txt后按回车执行重启删除任务!", 64, "友情提示--by 逍遥@浪子@" >>tishi.vbs
echo. >>list.txt & rd /s /q bakup & md bakup
start list.txt & start tishi.vbs & ping -n 2 127.1 &
copy c:\autoexec.bat c:\autoexec.txt
copy /y list.txt bakup\listbak.txt
for /f "usebackq delims=*" %%i in (list.txt) do copy /y "%%i" bakup\%%~nxi.bak
echo @echo off>c:\autoexec.bat
echo for /f "usebackq delims=*" %%%%i in (list.txt) do attrib -s -h -r "%%%%i" >>c:\autoexec.bat
echo for /f "usebackq delims=*" %%%%i in (list.txt) do
echo for /f "usebackq delims=*" %%%%i in (list.txt) do md "%%%%i">>c:\autoexec.bat
echo echo off>C:\good.bat
echo
echo copy autoexec.txt autoexec.bat>>c:\good.bat
echo reg delete "HKCU\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN" /v "good" /f>>c:\good.bat
reg add "HKCU\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN" /v "good" /t "REG_SZ" /d "c:\good.bat" /f
echo.
echo 已经备份删除文件到%~dp0%bakup文件夹内,便于还原
echo.
echo 如果你已经配置好删除列表,请按任意键执行重启删除任务!
echo.
pause>nul 2>nul
shutdown -r -f -t 0