Click here to Skip to main content
Click here to Skip to main content

List Components, Executables and Libraries

By , 15 May 2000
 
  • 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

    About the Author

    Phil McGahan
    United States United States
    Member
    No Biography provided

    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
    You must Sign In to use this message board.
    Search this forum  
        Spacing  Noise  Layout  Per page   
    GeneralMy vote of 2memberAlexandre GRANVAUD11 Aug '09 - 2:55 

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

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