31 lines
434 B
Batchfile
Raw Permalink Normal View History

2024-01-05 09:18:35 +08:00
@echo off
chcp 65001
setlocal enabledelayedexpansion
cls
cd /d %~dp0
ECHO 检查管理员权限
net.exe session 1>NUL 2>NUL && (
goto as_admin
) || (
goto not_admin
)
:as_admin
cd ..
call %cd%\3.tools\panda\published.bat 1 1
goto end0
:not_admin
echo not as admin
:end0
echo 9s exit
ping 127.0.0.1 -n 3 >nul
echo 6s exit
ping 127.0.0.1 -n 3 >nul
echo 3s exit
ping 127.0.0.1 -n 3 >nul
exit