ShellExecuteW (None, "runas", sys.executable, __file__, None, 1). 其中有一個參數為 __file__ ,這句代碼是獲取管理員權限然後重新執行該文件。
確定! 回上一頁