Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Inventory

Posted on 2006-11-08
1
Medium Priority
?
149 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

722 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