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."

2 comments:

kenzie jones said...
This comment has been removed by the author.
kenzie jones said...

Yes you provided really easy steps to make the script.Its very informative article.I am always getting the useful information through your articles.Thanks a lot.
what is a digital signature