-
help with vbscript
i'm trying to create folders on multiple remote computers with vbscript. i have a list of computer names and on each computer i want to do this:
Code:
strComputer = ""
Set objWMIService = GetObject _
("winmgmts:\\" & strComputer & "\root\cimv2:Win32_Process")
errReturn = objWMIService.Create _
("cmd.exe /c md c:\newfolder", Null, Null, intProcessID)
-
Re: help with vbscript
Great thread title!
Read each strComputer from the list in a loop using FSO OpenTextFile and ReadLine. Please search these terms if you need more information.