1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 | ENVI^ Envimode=1
SET$ &NL=0d 0a
ENVI TPPID=%&__PID%
regi $HKCR\PECMD\VAR\%TPPID%\APP1\v1=0
FILE --force "%Desktop%\a.bat"
WRIT "%Desktop%\a.bat",$+0,START CMD.EXE
WRIT "%Desktop%\a.bat",$+0,START CMD.EXE
WRIT "%Desktop%\a.bat",$+0,"%MyName%" regi $HKCR\PECMD\VAR\%TPPID%\APP1\v1=1 //运行到这里了
EXEC --pid:pids "%Desktop%\a.bat"
LOOP #1=1,
{ WAIT 50
regi $HKCR\PECMD\VAR\%TPPID%\APP1\v1,&v
FIND $%&v%=1, EXIT LOOP
}
regi $HKCR\PECMD\VAR\%TPPID%\APP1\v1=
FIND --pid*@.#%pids% WID3,
MESS %pids%%&NL%%WID3% |