Click here to Skip to main content
13,148,427 members (56,456 online)
Click here to Skip to main content
Add your own
alternative version


13 bookmarked
Posted 15 May 2000

List Components, Executables and Libraries

, 15 May 2000
Rate this:
Please Sign up or sign in to vote.
A handy utility that produces a comma delimited list of components such as .exe's, ocx's etc on your hard drive.
  • Download source files - 17 Kb
  • What it does

    This utility produces a comma delimited text file of all or a restricted set of components on the C: drive. Components are things like dll, ocx, exe...

    How to use it

    Run the utility before installing software on a PC. It will produce a comma delimited output file in C:\Temp. The file will be named after the PC and it will have the text '_com.txt' appended to it. Save this file, install new software, and run this utility again. The simple dialog makes what files will be created and where they are created quite clear. The about box explains the process the utility will perform.

    The output

    Now you can import both comma delimited text files into MS Access and determine what files where added or modified by the install process.

    The comma delimited text files have the following format:
    computerName, fileName, path of file, file size, date file was created, date file was last used, version number, fixed version number, product version

    Technology used: (K.I.S. - Keep it simple)

    This is a simple dialog based exe built using the VC 5.0 Wizard. There is not a lot of high technology to be credited for or blamed for in this utility.

    With the notable exception of the CVersionInfo class written by Roberto Rocco. The code does use some elementary CMap, CArray, CStringArray, CFile and CFileStatus classes. DOS provides the main search engine. The DOS statement is wrapped by the 'system' command.

    I share this as a convenience to others, there is no technology here that could not be found in a beginners C++ book. The utility allows you to search the entire C: drive or you can limit the search to just certain files and or certain directories and file extensions. This can be done by configuring an ini file. A sample ini file is include in the zip.


    I maintain no rights or restrictions on this code. It was not plagiarized from any other source.


    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    About the Author

    Phil McGahan
    United States United States
    No Biography provided

    You may also be interested in...


    Comments and Discussions

    GeneralMy vote of 2 Pin
    Alexandre GRANVAUD11-Aug-09 2:55
    memberAlexandre GRANVAUD11-Aug-09 2:55 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Terms of Use | Mobile
    Web01 | 2.8.170924.2 | Last Updated 16 May 2000
    Article Copyright 2000 by Phil McGahan
    Everything else Copyright © CodeProject, 1999-2017
    Layout: fixed | fluid