Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Dontbyteme

    Need help getting script to save a file and then open saved file

    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...
  2. Dontbyteme

    Need help getting script to save a file and then open saved file

    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...
  3. Dontbyteme

    Need help getting script to save a file and then open saved file

    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...
  4. Dontbyteme

    Need help outputting information to multi txt files

    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.
  5. Dontbyteme

    Need help outputting information to multi txt files

    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...
  6. Dontbyteme

    ReadLine in Do Loop not working correctly

    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!!
  7. Dontbyteme

    ReadLine in Do Loop not working correctly

    It was to make sure that the Do loop ended.
  8. Dontbyteme

    ReadLine in Do Loop not working correctly

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

Part and Inventory Search

Back
Top