From 4be5631623531697241f6dd483ba32455fd02313 Mon Sep 17 00:00:00 2001 From: Xyueta Date: Fri, 6 Oct 2023 19:36:14 +0200 Subject: [PATCH] fix: errors in fileassoc.cmd --- src/playbook/Executables/FILEASSOC.cmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/playbook/Executables/FILEASSOC.cmd b/src/playbook/Executables/FILEASSOC.cmd index 5ff1fe1b92..359661e9a4 100644 --- a/src/playbook/Executables/FILEASSOC.cmd +++ b/src/playbook/Executables/FILEASSOC.cmd @@ -51,6 +51,7 @@ for /f "usebackq tokens=2 delims=\" %%a in (`reg query HKU ^| findstr /r /x /c:" powershell -NoP -EP Unrestricted -File assoc.ps1 "Placeholder" "%%a" %associations% ) ) +exit /b :7ZIPUSER ( @@ -284,6 +285,7 @@ for /f "usebackq tokens=2 delims=\" %%a in (`reg query HKU ^| findstr /r /x /c:" reg add "HKU\%~1\Software\Classes\7-Zip.zip\shell\open" /ve /t REG_SZ /d "" /f reg add "HKU\%~1\Software\Classes\7-Zip.zip\shell\open\command" /ve /t REG_SZ /d "\"%ProgramFiles%\7-Zip\7zFM.exe\" \"%%1\"" /f ) > nul + exit /b :7ZIPSYSTEM @@ -517,4 +519,5 @@ exit /b reg add "HKLM\Software\Classes\7-Zip.zip\shell\open" /ve /t REG_SZ /d "" /f reg add "HKLM\Software\Classes\7-Zip.zip\shell\open\command" /ve /t REG_SZ /d "\"%ProgramFiles%\7-Zip\7zFM.exe\" \"%%1\"" /f ) > nul + exit /b \ No newline at end of file