You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
204 B
13 lines
204 B
3 years ago
|
call :IsAdmin
|
||
|
|
||
|
java -jar app.jar
|
||
|
|
||
|
:IsAdmin
|
||
|
Reg.exe query "HKU\S-1-5-19\Environment"
|
||
|
If Not %ERRORLEVEL% EQU 0 (
|
||
|
Cls & Echo You must have administrator rights to continue ...
|
||
|
Pause & Exit
|
||
|
)
|
||
|
Cls
|
||
|
goto:eof
|