Create TaskBarLayout.bat

This commit is contained in:
windows11help
2021-06-20 15:12:16 +03:00
committed by GitHub
parent 7ac09bedd6
commit 2d13ada571
+17
View File
@@ -0,0 +1,17 @@
@echo off
:nashalo
Echo ============ Choose: ============
Echo New Start Menu - 0
Echo Old Start Menu - 1
Set /p vibor="Number: "
if "%vibor%"=="0" (
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_ShowClassicMode /t REG_DWORD /d 0 /f
) else if "%vibor%"=="1" (
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_ShowClassicMode /t REG_DWORD /d 1 /f
) else (Echo Wrong! & goto nashalo)
taskkill /F /IM explorer.exe
start explorer.exe
goto nashalo
pause >nule >nul