Loading

Windows系统-批处理脚本-切换到管理员身份

@echo off
REM Get Admin Privileges
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit

批处理脚本切换到管理员身份

posted @ 2023-10-27 15:50  Sawyerhan  阅读(75)  评论(0编辑  收藏  举报