@echo off
echo.
echo 全自动替换 ExplorerFrame.dll ,任意键继续 ……
echo 请确保以管理员身份运行本程序,并且待替换文件在同目录下。
pause>nul
echo.
echo 获取管理员权限 ...
takeown /f C:\windows\system32\ExplorerFrame.dll /a
icacls C:\windows\system32\ExplorerFrame.dll /grant administrators:F /t
echo.
echo.
echo 备份 ExplorerFrame.dll ...
attrib -r -a -s -h C:\windows\system32\ExplorerFrame.dll /s
ren C:\windows\system32\ExplorerFrame.dll ExplorerFrame_bak.dll
echo.
echo 复制 ExplorerFrame.dll ...
copy .\ExplorerFrame.dll C:\windows\system32\ /y
echo.
echo 原文件已备份为 ExplorerFrame_bak.dll
echo 按任意键退出...
pause>nul
exit
标签:...,windows,system32,echo,ExplorerFrame,dll,全自动
From: https://www.cnblogs.com/chobittsu/p/18013828