Ok , here is what I am wanting to do ultimately.
I have a script that runs windows internet explorer hot fix updates on a server that we have setup.
the script that we use here is this:
strComputer = inputbox("Enter station name to complete security update","Security Update")
if strComputer = "" then wscript.quit
on error goto 0
Set autoUpdateClient = CreateObject("Microsoft.Update.AutoUpdate",strComputer)
wscript.echo "Computer Updated."
this script is usually saved as a .vbs, in which at my company I have 2000 computers and a .txt file list of all the station names.
Now and then I get a 100 or some odd computer names on a .txt list that I have to manuall Copy the computer name, paste it into the input box of this script above, and then run the script.
So instead of allllll that.. I have descided that I want to make my application read the list of computers, take each computer name and write that computers name into the above script and then run the script. THE ONLY PROBLEM I am having is getting each computers name.
so this is what I need help from you experts and more experianced developers.
say this list is what is in a .txt file
so .. I need to read sa08DATAPCd1, then run that PC name into the above script that I gave.
Then the next computer sa08DATAPC1d1 would also get ran , and so forth on down the list.
I am having problems getting each station name stored for me to run the output on.
Please if anyone knows how I can get this done that would be great !