:loop
@set ollydbg=C:\tools\52OD\Îá°®ÆÆ½â×¨ÓÃ°æ.exe
@set victim=wsget.exe
@tasklist /fi "imagename eq %victim%" /fo "list" | find "PID" > autoattach.lst
@for /f "tokens=2" %%i in (autoattach.lst) do echo %%i > autoattach.pid
@for /f %%i in (autoattach.pid) do start %ollydbg% -p %%i
@del autoattach.lst
@del autoattach.pid
goto loop