Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Inventory

Posted on 2006-11-08
1
Medium Priority
?
152 Views
Last Modified: 2010-04-16


Hi,

I want to build a small app(2.0) and read the C (or local drive), program files folder, for each computer on the network and list all folders inside Program Files on each computer(only 1 level deep) and output it to a txt file or db.

Anyone ever done something like this, or pehaps knows a good wsite with this stuff on?

thanks.
0
Comment
Question by:ziwez0
1 Comment
 
LVL 8

Accepted Solution

by:
redpipe earned 2000 total points
ID: 17898153
Enumerate all computers in network
http://www.codeproject.com/cs/internet/ListNetworkComputers.asp or
http://www.developerfusion.co.uk/show/3169/  or
http://www.c-sharpcorner.com/Code/2002/Aug/ListAllComps.asp  (Active directory)

then foreach item (computernames) in array (computers in network)
  try connect
  and foreach File in FolderInfo.GetFiles("C:\Program Files") write File.Name to your textfile or db
 
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question