WinRepair/Run WinRepair_Debug.bat
Ryan 2174584dfa v1.0.0 - WinRepair Utility
Initial upload of WinRepair in its current working, fully featured state!
+ Includes Debugging Scripts.
2026-02-17 05:34:01 +00:00

28 lines
1.1 KiB
Batchfile

@echo off
title WinRepair - DEBUG MODE
:: ═══════════════════════════════════════════════════════════════
:: WinRepair Debug Launcher
:: Runs WinRepair with a VISIBLE console for error tracking
:: Debug log saved to WinRepair_Debug.log
:: ═══════════════════════════════════════════════════════════════
:: Check for admin rights
net session >nul 2>&1
if %errorlevel% neq 0 (
echo Requesting Administrator privileges...
powershell -NoProfile -Command "Start-Process cmd.exe -ArgumentList '/c \"\"%~f0\"\"' -Verb RunAs"
exit /b
)
:: We are admin — change to script directory and run with visible console
pushd "%~dp0"
chcp 65001 >nul
echo ============================================
echo WinRepair DEBUG MODE
echo Console output + WinRepair_Debug.log
echo ============================================
echo.
powershell.exe -NoProfile -NoExit -ExecutionPolicy Bypass -File ".\WinRepair_Debug.ps1"
popd