HI I'm trying to get this bat file to run when i try to run it as admin all it does is quickly opens cmd then closes and makes the log file just with the date I'm very new to all this and used bit of ai to help so if anybody nice and not mean can help me fix the issue i very much appreciate it thx:)
u/echo off
setlocal enabledelayedexpansion
:: ============================
:: === Constants for Configuration
:: ============================
:: Boolean constants for clarity
set "CONST_TRUE=1"
set "CONST_FALSE=0"
:: Log levels for structured logging
set "LOG_LEVEL_INFO=INFO"
set "LOG_LEVEL_WARN=WARNING"
set "LOG_LEVEL_ERROR=ERROR"
:: Retry & timeout configuration