@echo off :: eDNC Special Character Fix Launcher :: Auto-elevates to Administrator title eDNC Special Character Fix :: Check for admin rights net session >nul 2>&1 if %errorLevel% == 0 ( goto :run ) else ( goto :elevate ) :elevate echo Requesting Administrator privileges... powershell -Command "Start-Process -FilePath '%~f0' -Verb RunAs" exit /b :run echo. echo Running with Administrator privileges... echo. cd /d "%~dp0" powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0eDNC-SpecialCharFix.ps1" %* echo. pause