Question

Locked

Dos command to list all installed programs

By Alex1to ·
Is there a dos command to list all installed applications? Does anybody know of such dos command? If you know it, could you let me know what is it? or tell me it doesn't exist so I can find a different route to address my needs? Thanks in advance for your input
Alex

This conversation is currently closed to new comments.

25 total posts (Page 1 of 3)   01 | 02 | 03   Next
| Thread display: Collapse - | Expand +

All Answers

Collapse -

No specific command, but you can do a directory listing

by Why Me Worry? In reply to Dos command to list all i ...

go to the root of your C: drive first

C:\my stuff>cd\

C:\>dir /w /s >dirlisting.txt

this will output a list of all files and subfolders to a file called dirlisting.txt on the root of your C: drive. This won't tell you all running apps, but you can see what you have on your hard drive based on the folder names and their paths.

Collapse -

Edited by moderator

by luket In reply to No specific command, but ...

Edited by moderator

Message was edited by: beth.blakely@...

Collapse -

regedit...

by grassiap In reply to Dos command to list all i ...

you may use regedit to dump into a text file the content of the key :
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

this will list each and every piece of software shown in the add/remove program control panel.

you'll then have to process the text to strip down undesired info (like maybe the drivers that every so often appear like {15634F-265432-543151765376}) As you're a netadmin I take it you'll find your way with some perl script (active perl allows to "compile" perl scripts as exe)

From Windows 2000 on the WMI instrumentation can also be queried to get the deal (I've not the opportunity to dig that from MS technet know, let me know by email if you wish that I schedule some more time for that)

if your target organization is larger than a SOHO I'd really advise you to consider a inventory solution like Insight Manager / TopTools/ Tivoli/ SMS or their Open Source counterparts
(have a look at http://sourceforge.net/project/showfiles.php?group_id=58373&package_id=155185&release_id=488140 )

Collapse -

Try export from registry

by anarchy In reply to Dos command to list all i ...

You can use reg.exe command-line tool to get data containing in HKLM\Software\Microsoft\Windows\Uninstall.

Collapse -

Thanks anarchy...

by edexg In reply to Try export from registry

reg.exe works very good to get the list that I need.

Collapse -

Your best bet.....

by LiamE In reply to Dos command to list all i ...

Your best bet would be to run some PC auditing software like Centennial Discovery. This will scan your HDD and compare to a database of known programs signatures and output the result nicely for you.

Collapse -

Just adding to the list..Command Script to list all installed programs

http://www.vbsedit.com/scripts/apps/user/scr_226.asp

Please post back if you have any more problems or questions.

Collapse -

Reponse To Answer

by slylabs13 In reply to Just adding to the list.. ...

This script generates a syntax error. <sigh>

Collapse -

Reponse To Answer

by skarykid In reply to Just adding to the list.. ...

in the raw this displays the answers as pop ups on the screen, how would i tell it to write this to a text file

Collapse -

Batch program to list the softwares installed

by princehancey In reply to Dos command to list all i ...

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

Back to Software Forum
25 total posts (Page 1 of 3)   01 | 02 | 03   Next

Software Forums