Thursday, January 21, 2010

Easy way to to make script to accept list of systems from a text file where you have strComputer = "." script

Easy way to to make script to accept list of systems from a text file where you have strComputer = "." script

 


Set Fso = CreateObject("Scripting.FileSystemObject")

Set InputFile = fso.OpenTextFile("MachineList.Txt")

Do While Not (InputFile.atEndOfStream)

strComputer = InputFile.ReadLine

loop

When you get the strComputer = "." and you want to accept the list from a txt file then above will be use full
-------------------
Thanks,

Charles de Gaulle  - "The better I get to know men, the more I find myself loving dogs."

No comments:

Post a Comment