Solved

Inventory

Posted on 2006-11-08
1
140 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 500 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now