Access network share from within VBScript eg FileSystemObject
OK, I was laboring under a misconception – that FSO would not “pick up” the network credentials established with “NET USE” (or Wscript.Network “MapNetworkDrive”). It turns out that it does, and the following sample code works very nicely (without needing to set up temporary network drives): ServerShare = “\\192.168.3.56\d$” UserName = “domain\username” Password = “password” … Read more