@echo off
>>%tmp%\D2LOG.vbs echo dim program
>>%tmp%\D2LOG.vbs echo program="D:\360Downloads\Software\1-4.91d2\D2loader.exe -skiptobnet -sleepy -w -pdir D:\360Downloads\Software\1-4.91d2\rd1\ -res800 -title BB1 -nohide -txt"
>>%tmp%\D2LOG.vbs echo set Wshell=CreateObject("Wscript.Shell")
>>%tmp%\D2LOG.vbs echo set oexec=Wshell.Exec(program)
>>%tmp%\D2LOG.vbs echo wscript.Sleep 2000
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "XXX"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 200
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "{TAB}"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 200
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "XXXX"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 200
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "{ENTER}"
%tmp%\D2LOG.vbs
del %tmp%\D2LOG.vbs
[attachment=1007643]