Files
Place-Order-Trading-Bot/uninstall_dashboard_autostart.bat
T

58 lines
1.4 KiB
Batchfile
Raw Normal View History

2025-12-23 11:02:35 +01:00
@echo off
REM ==========================================
REM Dashboard Autostart Deinstallation
REM Entfernt Verknüpfung aus Autostart
REM ==========================================
echo.
echo ========================================
echo Dashboard Autostart Deinstallation
echo ========================================
echo.
set "STARTUP_FOLDER=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup"
set "SHORTCUT_NAME=Trading Bot Dashboard.lnk"
set "SHORTCUT_PATH=%STARTUP_FOLDER%\%SHORTCUT_NAME%"
echo [INFO] Suche Autostart-Verknüpfung...
echo.
if not exist "%SHORTCUT_PATH%" (
echo [INFO] Keine Autostart-Verknüpfung gefunden
echo [INFO] Dashboard ist nicht im Autostart installiert
pause
exit /b 0
)
echo [GEFUNDEN] %SHORTCUT_PATH%
echo.
choice /C JN /M "Möchten Sie die Autostart-Verknüpfung entfernen?"
if errorlevel 2 (
echo [INFO] Abgebrochen
pause
exit /b 0
)
echo.
echo [INFO] Entferne Verknüpfung...
del "%SHORTCUT_PATH%"
if errorlevel 1 (
echo [ERROR] Verknüpfung konnte nicht gelöscht werden!
echo [ERROR] Möglicherweise fehlende Berechtigungen
pause
exit /b 1
)
echo.
echo ========================================
echo Deinstallation erfolgreich!
echo ========================================
echo.
echo [OK] Dashboard startet nicht mehr automatisch
echo.
echo [TIPP] Sie können Dashboard manuell starten mit:
echo start_dashboard.bat
echo.
pause