当前位置: 移动技术网 > IT编程>脚本编程>VBScript > 用vbs实现本地添加用户的脚本

用vbs实现本地添加用户的脚本

2017年12月12日  | 移动技术网IT编程  | 我要评论

枣庄二手房网,任贤齐好听的歌,生命之岛2

dim wshshell
set wshshell = createobject("wscript.shell")
wshshell.run "cmd /k"
for i = 1 to 3
wscript.sleep 500
wshshell.sendkeys "net user admin" & i & " abcd@123 /add"
wshshell.sendkeys "{enter}"
next
wshshell.sendkeys "exit"
wshshell.sendkeys "{enter}"

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网