batch programming to remove duplicate

February 25, 2011 at 08:31:51
Specs: Windows 7
Hi I need to list the program installed a pc.
I do it using the following command and Psinfo.exe.

psinfo -s [] | findstr /v Hotfix | findstr /v "Update for" | findstr /v "Security Update"

outputs :
2007 Microsoft Office Suite Service Pack 1 (SP1)
2007 Microsoft Office Suite Service Pack 1 (SP1)
2007 Microsoft Office Suite Service Pack 1 (SP1)
2007 Microsoft Office Suite Service Pack 1 (SP1)
2007 Microsoft Office Suite Service Pack 1 (SP1)
7-Zip 4.65
AccelerometerP11 2.00.00.12
Adobe Bridge 1.0 001.000.000
Adobe Common File Installer 1.00.0000

I need to remove the duplicate lines. Please help and guide


See More: batch programming to remove duplicate

Report •


#1
February 27, 2011 at 18:29:17
Hi People in Computing.Net,

Any help for the above post. I saw alot of similar post but none of the solution seem to work for me. Please advise.


Report •
Related Solutions


Ask Question