fix: pure ASCII batch files (no em dashes)
This commit is contained in:
1 parent
6020972ed8
commit
aae2361fd4
2 files changed
+11
-11
No files matched your search
+7
-7
@@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
title Raskidator-3000 — Install context menu
|
title Raskidator-3000 - Install context menu
|
||||||
|
|
||||||
echo ========================================
|
echo ========================================
|
||||||
echo Install context menu
|
echo Install context menu
|
||||||
@@ -9,28 +9,28 @@ echo.
|
|||||||
echo Script path: %~dp0raskidator.bat
|
echo Script path: %~dp0raskidator.bat
|
||||||
echo.
|
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...
|
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" /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" /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
|
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.
|
echo.
|
||||||
|
|
||||||
:: Directory\shell — right-click on folder
|
:: Directory\shell - right-click on folder
|
||||||
echo [2/3] Adding to folder right-click menu...
|
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" /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" /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
|
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.
|
echo.
|
||||||
|
|
||||||
:: LibraryFolder\Background — Pictures, Music, Videos...
|
:: LibraryFolder\Background - Pictures, Music, Videos...
|
||||||
echo [3/3] Adding to libraries (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" /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" /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
|
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.
|
||||||
|
|
||||||
echo ========================================
|
echo ========================================
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
@echo off
|
@echo off
|
||||||
title Raskidator-3000 — Uninstall context menu
|
title Raskidator-3000 - Uninstall context menu
|
||||||
|
|
||||||
echo ========================================
|
echo ========================================
|
||||||
echo Uninstall context menu
|
echo Uninstall context menu
|
||||||
@@ -9,17 +9,17 @@ echo.
|
|||||||
|
|
||||||
echo [1/3] Removing from folder background context menu...
|
echo [1/3] Removing from folder background context menu...
|
||||||
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\Raskidator3000" /f >nul 2>&1
|
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.
|
||||||
|
|
||||||
echo [2/3] Removing from folder right-click menu...
|
echo [2/3] Removing from folder right-click menu...
|
||||||
reg delete "HKEY_CLASSES_ROOT\Directory\shell\Raskidator3000" /f >nul 2>&1
|
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.
|
||||||
|
|
||||||
echo [3/3] Removing from libraries (Pictures, Music, Videos)...
|
echo [3/3] Removing from libraries (Pictures, Music, Videos)...
|
||||||
reg delete "HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Raskidator3000" /f >nul 2>&1
|
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.
|
||||||
|
|
||||||
echo ========================================
|
echo ========================================
|
||||||
|
|||||||
Reference in new issue
Block a user