Question about batch files

dhojnacki

Beta member
Messages
1
Is it possible for me to create a batch file that could list all installed software or something similar on the computer?

I'm want to send it to all of the employees, they run it, so I can have an inventory of all of the software they installed on the PC. Is that possible?
 
Try Googling your query.

http://everheardofgoogle.com - lol (is actually a website)
http://google.com - real google link

Aren't you a helpful guy.....

I think this is what your looking for. This will send it out to a text file in c:

Code:
@echo off

If Exist c:\installedprogs.txt Del c:\installedprogs.txt

regedit /e c:\regexport.txt "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall"

find "DisplayName" c:\regexport.txt >c:\regprogs.txt

for /f "tokens=2 delims==" %%a in (c:\regprogs.txt) do echo %%~a >>c:\installedprogs.txt

del c:\regexport.txt
del c:\regprogs.txt

exit
 
Aren't you a helpful guy.....

lol. I know I could have probably responded with an actual website that had information on it but usually the first thing I tell people to do when trying to find information is to Google it.
 
lol. I know I could have probably responded with an actual website that had information on it but usually the first thing I tell people to do when trying to find information is to Google it.

that's always a helpful way to attract new members. :rolleyes:
 
Back
Top Bottom