Nov 11, 2009

How to print list of installed softwares in Windows ?

write a windows .bat script with following commands and run it. You can find the file named 'software_list.txt' will be created with list of installed softwares in it.


echo List of softwares > software_list.txt
echo ================= >>software_list.txt
reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall temp1.txt
find "DisplayName" temp1.txt| find /V "ParentDisplayName" > temp2.txt
for /f "tokens=2,3 delims==" %%a in (temp2.txt) do (echo %%a >> software_list.txt)
del temp1.txt temp2.txt

1 comment: