@echo off
REM View the latest CNPERP Auto-Update logs

set "LOG_FILE=C:\dev\cnperp-dimensions\logs\auto_update.log"

if not exist "%LOG_FILE%" (
    echo No logs found yet at: %LOG_FILE%
    echo.
    echo The auto-update task creates this file when it runs.
    echo Please wait for the first scheduled run at 2:00 AM.
    echo.
    pause
    exit /b 1
)

REM Open log file in default text editor
start notepad.exe "%LOG_FILE%"
