I am attempting to write a VBScript that will list all of the installed application on a system in a text file or csv. I was able to find an existing code to list all of the
In addition to Ansgar's top-rated answer, changing
Set f = fso.OpenTextFile("C:\output.txt", 2)
to
Set f = fso.CreateTextFile("C:\output.txt", 2)
allows VBS script to create the output files rather than requiring an existing blank file to already be in the destination.