Skip to content

Instantly share code, notes, and snippets.

@LitileXueZha
Created October 25, 2023 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LitileXueZha/818e24b0a4f06b48a5bc4d93c7e98d7a to your computer and use it in GitHub Desktop.
Save LitileXueZha/818e24b0a4f06b48a5bc4d93c7e98d7a to your computer and use it in GitHub Desktop.
Reboot to BIOS use command line.
::
:: 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