紫橙 当前离线
列兵
TOP
522235677 (张三)当前离线
少校
@echo off bcdedit >nul 2>nul && goto admin echo CreateObject^("Shell.Application"^).ShellExecute "%~s0", "admin", "", "runas", 1 > "%temp%\getadmin.vbs" start "" "%temp%\getadmin.vbs" & exit :admin netsh wlan start hostednetwork exit复制代码
@echo off bcdedit >nul 2>nul && goto admin echo CreateObject^("Shell.Application"^).ShellExecute "%~s0", "admin", "", "runas", 1 > "%temp%\getadmin.vbs" start "" "%temp%\getadmin.vbs" & exit :admin echo runas administrator pause复制代码