bat 通过命令以管理员方式运行程序

 

@echo off
mode con lines=30 cols=60
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"
%cd%\OLLYDBG.EXE

 

posted @ 2019-05-04 02:31  anobscureretreat  阅读(2552)  评论(0编辑  收藏  举报