Board logo

标题: [问题求助] VBS如何远程运行域共享的程序? [打印本页]

作者: uranus12    时间: 2021-4-16 13:32     标题: VBS如何远程运行域共享的程序?

  1. Set WshNetwork = WScript.CreateObject("WScript.Network")
  2. Set wshshell = WScript.CreateObject("WScript.shell")
  3. Set objDomain = CreateObject("ADSystemInfo")
  4. WshNetwork.MapNetworkDrive "x:", "\\192.168.3.1\d$\软件工具\Ro"
  5. Set shell = Wscript.createobject("wscript.shell")
  6. a = shell.run ("x:\CGERepair.exe",0)
复制代码
提示网络路径键入不正确




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