From 24eee0f84411e14cb8682c8bc7f2627f0333d1e3 Mon Sep 17 00:00:00 2001 From: Windows Date: Wed, 14 Jul 2021 20:24:03 +0300 Subject: [PATCH] explorerswitch.bat --- explorerswitch.bat | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 explorerswitch.bat diff --git a/explorerswitch.bat b/explorerswitch.bat new file mode 100644 index 0000000..649c19a --- /dev/null +++ b/explorerswitch.bat @@ -0,0 +1,26 @@ +@set @x=0; /* +@echo off +ver |>NUL find /v "5." && if "%~1"=="" cscript.exe //nologo //e:jscript "%~f0"& exit /b + +:nashalo +Echo ============ Choose: ============ +Echo New Explorer - 0 +Echo Old Explorer - 1 +Set /p vibor="Number: " + +if "%vibor%"=="0" ( +reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v SeparateProcess /t REG_DWORD /d 0 /f +) else if "%vibor%"=="1" ( +reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v SeparateProcess /t REG_DWORD /d 1 /f +) else (Echo Wrong! & goto nashalo) + +taskkill /F /IM explorer.exe +start explorer.exe + +goto nashalo + +pause +exit /B + +:: Эту строку не трогать. Ниже ничего не писать!!! +*/new ActiveXObject('Shell.Application').ShellExecute (WScript.ScriptFullName,'Admin','','runas',1); \ No newline at end of file