bat 通过命令以管理员方式运行程序
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
@echo off rem 窗口大小 rem mode con lines=30 cols=60 %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit rem cd /d "%~dp0" rem "重启网络的命令" netsh winsock reset pause