Mike,
This is great! Thanks.
Ben Petersen
On 11 May 2001, at 10:31, Mike Byerley wrote:
> Here is a piece I picked from a NG. Quite awhile back someone wanted to be
> able to get the liist of installed software on a machine easily. This does
> it. I have placed numbers at the beginning of each separate line of code so
> you can tell the lines. Some are long and the email client shows it on a
> separate line when it is actually on the preceding ....
>
> 1. @echo off
> 2. start /wait REGEDIT /e %TEMP%.\~tmp
> HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
> 3. FIND "DisplayName"<%TEMP%.\~tmp | FIND /v "QuietDisplayName"
> 4. del %TEMP%.\~tmp
> 5. goto :EOF
>
> Save the code above in a dos batch file such as ListProg.bat or ListProg.cmd
> . At the System Command Prompt, either ListProg|more to see the list in the
> command window or ListProg>SomeTextFile.TXT to capture the output in a text
> file. I never was a Dos batch file Guru, but whoever conjured this one up
> (I couldn't tell in the NG who was the author of the code as it was
> reprinted with a tongue in cheek reference to someone familiar to the poster
> and others on the "Inside") did it nicely and simply.
>
> Mike
>
>
>
>