This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal enabledelayedexpansion | |
| title Mojank Minecraft Splash Screen Replacer | |
| REM --- Get admin privileges if not already elevated | |
| :RequestAdmin | |
| net session >nul 2>&1 | |
| if %errorlevel% neq 0 ( | |
| echo Requesting administrator privileges... | |
| echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" |