We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Dim WSHShell Dim sServer, sPath, sSwitches Dim sServerName, sWinXp, sCmd Dim Command, objArgs On Error Resume Next Set WSHShell = WScript.CreateObject("WScript.Shell") sServerName = "\\server.path.com" sPath = "\apps" sWinXp = "\CleanIt.exe" sSwitches = " /sn" 'Set the command line - format: "\\server\share\path\hotfix.exe" /switches sCmd = sServerName & sPath & sWinXp & sSwitches Command = sCmd Public Function RunPatch 'set path of executable to command variable Command = sCmd 'run the command WSHShell.Run Command,1,False End Function
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.