Board logo

标题: [问题求助] VBS类型不匹配“CreateObject”,800A000D [打印本页]

作者: aitest    时间: 2021-11-8 17:06     标题: VBS类型不匹配“CreateObject”,800A000D

  1. Set WshShell = CreateObject("WScript.Shell")
  2. Set fs = CreateObjetct("Scripting.FileSystemObject")
  3. WshShell.Run "runas /user:test D:\Everything\Everything.bat"
  4. WScript.Sleep 1000
  5. WshShell.SendKeys "ts"
  6. WScript.Sleep 1000
  7. WshShell.SendKeys "+"
  8. WshShell.SendKeys "123456{Enter}"
复制代码
提示类型不匹配“CreateObject”,800A000D,请问怎么解决




欢迎光临 批处理之家 (http://bbs.bathome.net/) Powered by Discuz! 7.2