우클릭 되돌리니 쓰지도 않는 터미널이 거슬림
메뉴 되돌리게에 추가
누구나 만들수 있는 배치파일 소스 입니다.
똥손이라 난잡함
@echo off
echo.
echo.
title Windows 11 Context menu
:start
echo Windows 11 Change the Context menu.
echo.
echo.
echo ========================================================
echo.
echo 1. Change the right-click menu.
echo.
echo 2. Restore the right-click menu.
echo.
echo 3. Remove Open in Windows Terminal context menu.
echo.
echo 4. Add Open in Windows Terminal context menu.
echo.
echo 5. Exit
echo.
echo ========================================================
:LOOP
set /p NB= Select number :
if not "%NB%" gtr "0" goto LOOP
if not "%NB%" leq "5" goto LOOP
goto %NB%
:1
echo.
echo.
echo Change the right-click menu.
echo.
echo.
reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
goto reset
:2
echo.
echo.
echo Restore the right-click menu.
echo.
echo.
reg.exe delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
goto reset
:3
echo.
echo.
echo Remove Open in Windows Terminal context menu.
echo.
echo.
reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v "{9F156763-7844-4DC4-B2B1-901F640F5155}"
goto reset
:4
echo.
echo.
echo Add Open in Windows Terminal context menu.
echo.
echo.
reg.exe delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v "{9F156763-7844-4DC4-B2B1-901F640F5155}" /f
goto reset
:5
exit
:reset
taskkill /f /IM explorer.exe
start explorer.exe
goto start
'PC_Windows' 카테고리의 다른 글
MS STORE 자주 설치하는 APP을 받아두자 (0) | 2024.01.25 |
---|---|
Samsung update MS 스토어 설치 파일 (0) | 2024.01.25 |
윈도우 CMD 한글깨짐 코드 변경 방법 (0) | 2022.11.18 |
Window11 우클릭 메뉴 이전으로 되돌리기 (0) | 2022.10.20 |