From aae2361fd457752bac275f89ec75e2d2ddee0def Mon Sep 17 00:00:00 2001 From: admin Date: Sun, 28 Jun 2026 16:52:57 +0200 Subject: [PATCH] fix: pure ASCII batch files (no em dashes) --- install.bat | 14 +++++++------- uninstall-context-menu.bat | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/install.bat b/install.bat index 991dc51..5c093f2 100644 --- a/install.bat +++ b/install.bat @@ -1,5 +1,5 @@ @echo off -title Raskidator-3000 — Install context menu +title Raskidator-3000 - Install context menu echo ======================================== echo Install context menu @@ -9,28 +9,28 @@ echo. echo Script path: %~dp0raskidator.bat echo. -:: Directory\Background\shell — right-click in empty folder space +:: Directory\Background\shell - right-click in empty folder space echo [1/3] Adding to folder background context menu... reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Raskidator3000" /ve /t REG_SZ /d "Raskidator-3000" /f reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Raskidator3000" /v Icon /t REG_SZ /d "%~dp0raskidator.bat,0" /f reg add "HKEY_CLASSES_ROOT\Directory\Background\shell\Raskidator3000\command" /ve /t REG_SZ /d "\"%~dp0raskidator.bat\" \"%%V\"" /f -echo [+] Directory\Background — done +echo [+] Directory\Background - done echo. -:: Directory\shell — right-click on folder +:: Directory\shell - right-click on folder echo [2/3] Adding to folder right-click menu... reg add "HKEY_CLASSES_ROOT\Directory\shell\Raskidator3000" /ve /t REG_SZ /d "Raskidator-3000" /f reg add "HKEY_CLASSES_ROOT\Directory\shell\Raskidator3000" /v Icon /t REG_SZ /d "%~dp0raskidator.bat,0" /f reg add "HKEY_CLASSES_ROOT\Directory\shell\Raskidator3000\command" /ve /t REG_SZ /d "\"%~dp0raskidator.bat\" \"%%1\"" /f -echo [+] Directory\shell — done +echo [+] Directory\shell - done echo. -:: LibraryFolder\Background — Pictures, Music, Videos... +:: LibraryFolder\Background - Pictures, Music, Videos... echo [3/3] Adding to libraries (Pictures, Music, Videos)... reg add "HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Raskidator3000" /ve /t REG_SZ /d "Raskidator-3000" /f reg add "HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Raskidator3000" /v Icon /t REG_SZ /d "%~dp0raskidator.bat,0" /f reg add "HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Raskidator3000\command" /ve /t REG_SZ /d "\"%~dp0raskidator.bat\" \"%%V\"" /f -echo [+] LibraryFolder\Background — done +echo [+] LibraryFolder\Background - done echo. echo ======================================== diff --git a/uninstall-context-menu.bat b/uninstall-context-menu.bat index e326dcb..288e53d 100644 --- a/uninstall-context-menu.bat +++ b/uninstall-context-menu.bat @@ -1,5 +1,5 @@ @echo off -title Raskidator-3000 — Uninstall context menu +title Raskidator-3000 - Uninstall context menu echo ======================================== echo Uninstall context menu @@ -9,17 +9,17 @@ echo. echo [1/3] Removing from folder background context menu... reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\Raskidator3000" /f >nul 2>&1 -if %errorlevel% equ 0 (echo [+] Directory\Background — removed) else (echo [—] Directory\Background — not found) +if %errorlevel% equ 0 (echo [+] Directory\Background - removed) else (echo [-] Directory\Background - not found) echo. echo [2/3] Removing from folder right-click menu... reg delete "HKEY_CLASSES_ROOT\Directory\shell\Raskidator3000" /f >nul 2>&1 -if %errorlevel% equ 0 (echo [+] Directory\shell — removed) else (echo [—] Directory\shell — not found) +if %errorlevel% equ 0 (echo [+] Directory\shell - removed) else (echo [-] Directory\shell - not found) echo. echo [3/3] Removing from libraries (Pictures, Music, Videos)... reg delete "HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Raskidator3000" /f >nul 2>&1 -if %errorlevel% equ 0 (echo [+] LibraryFolder\Background — removed) else (echo [—] LibraryFolder\Background — not found) +if %errorlevel% equ 0 (echo [+] LibraryFolder\Background - removed) else (echo [-] LibraryFolder\Background - not found) echo. echo ========================================