40 lines
1.4 KiB
Batchfile
40 lines
1.4 KiB
Batchfile
@echo off
|
|
chcp 65001 >nul
|
|
title Raskidator-3000 — Uninstall context menu
|
|
|
|
echo ========================================
|
|
echo Uninstall context menu
|
|
echo Raskidator-3000
|
|
echo ========================================
|
|
echo.
|
|
|
|
echo [1/4] Removing from folder context menus...
|
|
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\Raskidator3000" /f >nul 2>&1
|
|
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\Raskidator3000DryRun" /f >nul 2>&1
|
|
reg delete "HKEY_CLASSES_ROOT\Directory\shell\Raskidator3000" /f >nul 2>&1
|
|
reg delete "HKEY_CLASSES_ROOT\Directory\shell\Raskidator3000DryRun" /f >nul 2>&1
|
|
reg delete "HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Raskidator3000" /f >nul 2>&1
|
|
reg delete "HKEY_CLASSES_ROOT\LibraryFolder\Background\shell\Raskidator3000DryRun" /f >nul 2>&1
|
|
echo [+] Folder menus — done
|
|
echo.
|
|
|
|
echo [2/4] Removing from file context menus...
|
|
reg delete "HKEY_CLASSES_ROOT\*\shell\Raskidator3000" /f >nul 2>&1
|
|
reg delete "HKEY_CLASSES_ROOT\*\shell\Raskidator3000DryRun" /f >nul 2>&1
|
|
echo [+] File menus — done
|
|
echo.
|
|
|
|
echo [3/4] Removing SendTo entries...
|
|
del "%APPDATA%\Microsoft\Windows\SendTo\Raskidator-3000.bat" 2>nul
|
|
del "%APPDATA%\Microsoft\Windows\SendTo\Raskidator-3000 (dry-run).bat" 2>nul
|
|
echo [+] SendTo — done
|
|
echo.
|
|
|
|
echo [4/4] Cleanup complete
|
|
echo.
|
|
|
|
echo ========================================
|
|
echo Uninstall complete!
|
|
echo ========================================
|
|
pause
|