Click here to Skip to main content
Click here to Skip to main content
Go to top

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.

    Closing

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

    License

    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

    Share

    About the Author

    Phil McGahan

    United States United States
    No Biography provided

    Comments and Discussions

     
    GeneralMy vote of 2 PinmemberAlexandre GRANVAUD11-Aug-09 2:55 

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

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

    | Advertise | Privacy | Mobile
    Web03 | 2.8.140916.1 | Last Updated 16 May 2000
    Article Copyright 2000 by Phil McGahan
    Everything else Copyright © CodeProject, 1999-2014
    Terms of Service
    Layout: fixed | fluid