非常简单的win11右键样式转换批处理文件,点击后选择:“1”,即可转换到win10样式,点击:“2”,即可切回win11样式。
新建个文本文档,然后复制下文:
@echo off
title Windows 11 NEW&OLD
>NUL 2>&1 REG.exe query "HKU\S-1-5-19" || (
ECHO SET UAC = CreateObject^("Shell.Application"^) > "%TEMP%\Getadmin.vbs"
ECHO UAC.ShellExecute "%~f0", "%1", "", "runas", 1 >> "%TEMP%\Getadmin.vbs"
"%TEMP%\Getadmin.vbs"
DEL /f /q "%TEMP%\Getadmin.vbs" 2>NUL
Exit /b
)
:menu
cls
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo
echo.
echo PLEASE CHOOSE:
echo.&echo 1 Win10 OLD
echo.&echo 2 Win11 NEW
echo.&echo INPUT NO.
echo.
set /p user_input=INPUT NO.:
if %user_input% equ 1 goto old
if %user_input% equ 2 goto new
echo INPU ERROR, PLEASE TRY AGAIN.
pause
goto menu
:old
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
taskkill /f /im explorer.exe & start explorer.exe
echo DONE TURNING TO OLD
pause
goto menu
:new
reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
taskkill /f /im explorer.exe & start explorer.exe
echo DONE TURNING TO NEW
pause
goto menu
保存后,将文本文档后缀改成.CMD即可