返回列表 发帖
  1. Set ws = CreateObject("WScript.Shell")
  2. Set oExec = ws.Exec("cmd.exe")
  3. oexec.StdIn.WriteLine "runas /user:username setup.bat"
  4. oexec.StdIn.WriteLine "password"
复制代码

2楼的这段代码不行。
Life is a balance.

TOP

路过,感觉不错,顶一下!

TOP

返回列表