或许可以这样子做:
set BusName=594618504& set BusPow=chenjun //bus的帐号
set RRName=junc-01& set RRPow=22 //rr的帐号
>>%tmp%\D2LOG.vbs echo dim program
>>%tmp%\D2LOG.vbs echo program="G:\anhei2\bus\D2Loader.exe -direct -res800 -locale kor -w -pdir G:\anhei2\bus\113map\ -skiptobnet -title bus"
>>%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 "%BusPow%"
>>%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 "%BusName%"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 200
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "{ENTER}"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 1500
>>%tmp%\D2LOG.vbs echo Wshell.SendKeys "{ENTER}"
>>%tmp%\D2LOG.vbs echo wscript.Sleep 2000
%tmp%\D2LOG.vbs
del %tmp%\D2LOG.vbs
这样的话改帐号就方便很多了