Skip to content

Instantly share code, notes, and snippets.

View nathanelias's full-sized avatar

Nathan Elias nathanelias

  • Ontario - Canada
View GitHub Profile
@gialloporpora
gialloporpora / gist:4572776
Created January 19, 2013 13:49
This batch file saves the list of installed programs in a tXT file for printing.
@echo off
REM Reference: http://www.techrepublic.com/forum/questions/101-215911/dos-command-to-list-all-installed-programs
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
del temp2.txt
REM type software_list.txt | more
echo.