Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.
Option Explicit Dim strLinkFullname, strShortcut, strShortTarget, objNetwork, oShell Set oShell = wscript.createObject("wscript.shell") Set objNetwork = CreateObject("WScript.Network") strLinkFullname = WScript.Arguments(0) Set strShortcut = oShell.CreateShortcut(strLinkFullname) strShortTarget = strShortcut.TargetPath Wscript.Echo "Trying to connect the printer: " & strShortTarget objNetwork.AddWindowsPrinterConnection strShortTarget
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.