标签:detail lex 管理员 echo .exe shel window .bat ext
原文地址:https://blog.csdn.net/stranger_hello/article/details/82257947
@echo off
:获取管理员权限
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
:保持当前目录下运行
cd /d "%~dp0"
标签:detail lex 管理员 echo .exe shel window .bat ext
原文地址:https://www.cnblogs.com/lzhu/p/10601822.html