fix: pure ASCII batch files (no em dashes)

This commit is contained in:
admin committed 2026-06-28 16:52:57 +02:00
1 parent 6020972ed8
commit aae2361fd4
2 files changed
+11 -11

No files matched your search

+7 -7
View File
@@ -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 ========================================
+4 -4
View File
@@ -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 ========================================