[window tool]Auto login to register compoy network

Some network need to register first, need to input acount and passwd, and this tool can auto to do this.

 

Creat a AutoLoginNetwork.bat file:

@echo off
< "%~f0" more +4 > MEYN_test.vbs
cscript //nologo MEYN_test.vbs & del MEYN_test.vbs
goto :eof
set ierunner = CreateObject("wscript.shell")
ierunner.run "cmd /c start iexplore https://www.baidu.com",0
wscript.sleep 3000
ierunner.sendkeys "the_user_name"
ierunner.sendkeys "{TAB}"
ierunner.sendkeys "the_passpwd"
ierunner.sendkeys "{ENTER}" 

Already test in window 7, is ok.

posted on 2018-11-15 09:25  lizhuohui  阅读(46)  评论(0编辑  收藏  举报

导航