strongm - Thank you. I just read about Win32_Product from your link and from Microsoft's website. Wow I had no idea that querying WMI would do that. Microsoft suggested that I use Win32reg_AddRemovePrograms because it is a much lighter and effective way to get a list of all installed programs...
Thank you for your responses.
guitarzan - I'm sorry about the code in my last message, part of it was cut off. I've included the remainder of the code below. The line of code that is giving me an error is objShell.Run("notepad" & f)
I think the error is because I'm asking it to open the...
The VBScript I created is supposed to ask what PC a person wants info on then go get that info, put it in a txt file that it has saved to the users c:\users\%username%\documents folder and then ask the person if they want to view that txt file. After the person clicks on Yes, it's supposed to...
Thank you guitarzan I added your line of code (Set objFile = objFSO.CreateTextFile(strComputer & ".txt", True)), plus did a bunch of editing to my code after finding several errors, and now it is working great. Thank you so much for your help.
I have a script that looks at a computerList.txt file, query's each ComputerName listed in the txt file for information and then outputs all that information in 1 txt file. What I'd like to do is have the information output into separate txt files, 1 file for each ComputerName...
You guys are awesome!!! Thanks. I'm sorry I didn't catch your hint PHV, after strongm told me that it was a hint, then I tried deleting the Exit Do and it worked wonderfully. Thank you, thank you so much!!
I'm having trouble getting this script to read past the first line of txt in my txt file. I've put my .ReadLine in a Do Until Loop, but it still only reads the first line. I have a total of 4 computer names in my ComputerListTest.txt file. After I get it working correctly, I'll add the rest of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.