22 April 2009

A List of Installed Application

This script returns a list of installed application. Create file, AppList.bat with the following content:

@echo off
regedit /a %TEMP%\filename.reg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
for /f "Skip=1 Tokens=*" %%i in ('type %TEMP%\Filename.reg') do set line="%%i"&call :parse
goto :EOF
:parse
set work=%line:~2,11%
set work=%work:"=%
If NOT "%work%" EQU "DisplayName" goto :EOF
set work=%line:~16,120%
set work=%work:"=%
@echo %work%


Bookmark and Share ITStuff.ca

4 comments:

  1. Worked great on my Vista Business PC, but the command window shut itself down after it did the list; any way to pipe the results to a text file?

    ReplyDelete
  2. Run AppList.bat from command line (CMD.EXE). To write result into a text file execute use the following command (from command line):

    AppList.bat > C:\Applist.txt

    ReplyDelete