用vbs实现本地添加用户的脚本
用vbs实现本地添加用户的脚本
发布时间:2016-12-28 来源:查字典编辑
摘要:DimWshShellsetWshShell=CreateObject("wscript.Shell")WshShell.Run"cmd/k...

DimWshShell

setWshShell=CreateObject("wscript.Shell")

WshShell.Run"cmd/k"

fori=1to3

WScript.Sleep500

WshShell.SendKeys"netuseradmin"&i&"abcd@123/add"

WshShell.SendKeys"{ENTER}"

next

WshShell.SendKeys"exit"

WshShell.SendKeys"{ENTER}"

推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
相关阅读
网友关注
最新vbs学习
热门vbs学习
脚本专栏子分类