Created
October 25, 2023 16:23
-
-
Save LitileXueZha/818e24b0a4f06b48a5bc4d93c7e98d7a to your computer and use it in GitHub Desktop.
Reboot to BIOS use command line.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: | |
:: Copyright @litilexuezha | |
:: | |
@echo off | |
chcp 65001>nul | |
title 重启到BIOS | |
fltmc>nul && ( | |
shutdown /r /fw /t 3 /c "重启到BIOS" | |
exit /b | |
) | |
echo 请求更高的管理员权限... | |
powershell.exe "start %~f0% -verb runas" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment