Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-27-2008, 11:17 AM   #1
Beta Member
 
Join Date: May 2008
Posts: 1
Default Question about batch files

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?
__________________

dhojnacki is offline   Reply With Quote
Old 05-28-2008, 03:39 PM   #2
In Runtime
 
lhamil64's Avatar
 
Join Date: Jan 2007
Posts: 398
Default Re: Question about batch files

Try Googling your query.

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

__________________
--Lee
Website/Blog: http://lhamil64.wordpress.com
lhamil64 is offline   Reply With Quote
Old 05-28-2008, 04:48 PM   #3
Daemon Poster
 
xtremezx2's Avatar
 
Join Date: Sep 2006
Posts: 915
Default Re: Question about batch files

Quote:
Originally Posted by lhamil64 View Post
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
xtremezx2 is offline   Reply With Quote
Old 06-02-2008, 03:10 PM   #4
In Runtime
 
lhamil64's Avatar
 
Join Date: Jan 2007
Posts: 398
Default Re: Question about batch files

Quote:
Originally Posted by xtremezx2 View Post
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.
__________________
--Lee
Website/Blog: http://lhamil64.wordpress.com
lhamil64 is offline   Reply With Quote
Old 06-02-2008, 03:12 PM   #5
Daemon Poster
 
xtremezx2's Avatar
 
Join Date: Sep 2006
Posts: 915
Default Re: Question about batch files

Quote:
Originally Posted by lhamil64 View Post
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.
xtremezx2 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:36 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0