Play @echo off sh C:\Scripts\ani-cli.sh %* playd @echo off sh C:\Scripts\ani-cli.sh --dub %* update @echo off :: Automatically request Admin rights to ensure the update succeeds net session >nul 2>&1 if %errorLevel% == 0 ( sh C:\Scripts\ani-cli.sh -U pause ) else ( powershell -Command "Start-Process -Verb RunAs -FilePath '%0' -ArgumentList 'am_admin'" exit /b )