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%
22 April 2009
Subscribe to:
Post Comments (Atom)
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?
ReplyDeleteRun AppList.bat from command line (CMD.EXE). To write result into a text file execute use the following command (from command line):
ReplyDeleteAppList.bat > C:\Applist.txt
Thanks!
ReplyDeleteYou are welcome :)
ReplyDelete