avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday October 4, 2023, 4:34 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mjfreelancing [ switch to compact view ]

Pages: [1]
Borland C++ Builder Contest / Re: Development Cleaning Suite Submission
« on: September 07, 2006, 11:13 PM »
A web page is now available:

Direct download for latest version ( : http://www.mjfreelan...General/


Version is now available for download.

What's New
Added the option of "Open Containing Folder" from the results list view in DevClean (bottom pane).

Added multi-select capabilities to the the list view in DevClean (bottom pane). The context menu now includes options to multi-check and multi-uncheck the selected items (when more than one item is selected).

Added a Scan History to DCSUtil to enable faster selection of previously scanned locations. The last ten scan locations are stored.

** Adding multi-select to the tree view in the DevClean's results page (top pane) is not currently available because

    (i) The native VCL control in BCB5 does not support this.  I might look into compiling with BCB6 in the future.

    (ii) Multi-selecting from the tree view is a little more complicated because it may include folders and files (with overlaps).  With the right tree view control, it is possible to add this feature - I just don't have the time at the moment.

PDF Manual


The DCS webpage is not yet live, but the above links are available for immediate download

On the first request, I can't see where/how/if the standard TTreeView allows multi-select.  Might have to change the control to be able to do that one.  It's late now (after 1.30am) so I'll look into this over the weekend.

Thanks for the feedback.  I'll check into both feature requests for you.  Stay tuned.

My name is Malcolm Smith from Sydney, Australia.

I've been using C++Builder since version 1, developing security/compression components for other C++Builder users.  I am currently writing an extended framework (MJFAF) that sits on top of the VCL.  I hope to make MJFAF available to users in the near future.

My submission to the contest is a comprehensive cleaning tool for developers (or anyone who generates a lot of temporary files).  The tool uses a large number of features from MJFAF which made development extremely fast and stable.

Thanks.  Any problems let me know (how to reproduce) and I'll follow it up.

Just a short note to say that version is my submission version.  I've been running it since it was released without any issues.  I hope it helps you to keep your system clean !

Release Candidate 1 is now available - version

The file is a 31 page PDF conversion of the help file.

The file is the full setup including a complete help file.

There are no known bugs in this release so please report any issues before I submit the final version (which may well be this release if no issues are reported)

Version beta is now ready.  All files are correctly versioned now so there is no need to uninstall any previous versions.

The executables all report their version - and have the same build number since it is all fully automated.

I am now working on the reference manual / help file so apart from these menu items this will more than likely be the last beta.

If you find any bugs (and none have been reported since I started so I'm quite happy) please let me know before my final submission is made.

Version is now available for testing.  Some runtime files are not yet 'versioned' so please uninstall the previous version before installing this one to ensure they are installed correctly.

Apart from some enhacements in my configuration framework, the main difference in this build include:

 * Configuration can be exported to HTML

 * DCSUtil can now be used to select ANY folder as the starting point.  The next beta will include the ability to select any shared folder on the network.  This facility is not possible using the standard Windows Cleanup Manager.

 * DCSUtil is now designed as "stay on top" and can be minimized.

 * Minor (cosmetic) bug fixes

Here is the new dialog with a custom folder selected as the starting point:

If you have any features you'd like added be sure to let me know soon.  I'll be freezing development soon so I can get started on the documentation.

I'm quite happy with the current build (as per previous message).  I just installed DCS on another development machine and successfully filtered 4000+ files to just over 2000 in less than 5 minutes and cleared 1.53GB of temporary files.

All future purges will only take as long as it takes to scan the disk since the filtering is now setup - always remember to verify the files about to be purged in case you add new 3rd party folders that you don't want cleared.

Next beta is now available.

Functionally, this version is almost identical to the previous.  This version, however, now reads from a "dcs.cfg" file for all configuration options rather than the registry.

I recommend un-installing the previous version before installing this version since some of the previous version information was not updated correctly.

All current configuration will not be removed, but you can remove it manually from the registry at:

  HKEY_CURRENT_USER\Software\MJ Freelancing\DCS

If you need help in removing this just let me know - it's really easy.

The configuration framework used in this application has had some major work added to it to better support future requirements.  If you notice any aspect of the configuration not persisting correctly please let me know.

I have tested this on my real development system and found no issues but please perform your own testing with all cautions in mind.

At this stage, I may continue to build my "future feature list" while I work on some documentation / help.  If you have any comments or suggestions I'd love to hear from you.


For those of you reading the C++Builder Developer's journal ( you can find my configuration framework (used within this project) discussed in issues Vol 9, No 12 - Vol 10, No 1 - Vol 10, No 2.

I look forward to your results.  I'm even looking for reports of cosmetic issues (such as controls not moving when forms are resized, glyph/icon transparency issues and so on.  Functional issues are obviously the highest priority.

It will be a few days before the next beta as I'm going to update my configuration framework to handle a few situations not currently supported.

Ok, I have a new version - see bottom of this message for the setup.

The new version has the following changes:

 * Mask / Folder representation has completely changed
 * Volume filtering is possible (greyed out or hidden)
 * Available volumes are now listed under the Edit menu and a check mark next to an item indicates it is excluded from scans / purges
 * Several cosmetic issues corrected

 * Does not show volumes that have been excluded by the configurator
 * Abort operations (from scanning) are now more responsive

The majority of changes have occured in the configurator so the logic for add/remove/delete folders (especially with filtering enabled) has completely changed.  I cannot find any bugs but please let me know if you find something.

The next stage will be modifying the data persistence (removing it from the registry).

I'd like some feedback while I'm doing this.

I recommend un-installing the previous version first just to ensure the additional COM interfaces are registered correctly.  All current configuration information will NOT be lost.

Yes, I'm intending to move out of the registry.  The initial code is using a framework I've written that made development extremely fast.  I have an adaptor class that can save to an INI file (even nested keys) so I'll be updating it over the next few days.

There are some collections I need to store that is not immediately supported in my framework so I might work on improving that first.

Stay tuned.

I've implemented most of the GUI changes to the Configurator but am considering changing the way the config data is stored.  I need to know to what extent this will affect people (are you using it).  Please reply to this post if you want to continue testing but don't want to have to reconfigure the scan/purge options.


As you can see I also have filtering now.  Am wondering if I should have a hide/show option for the filtered data.

Comments ?

I might be able to live with this variation:


The filter would allow you to list all entries, or just the entries specific to a volume (such as C:\ or E:\ etc)

I might start on this approach over the next few days and post a new beta.  Get your comments in early.

I'm starting to plan a new layout for the configurator.  It needs to be easier to use (drag and drop options will come once I sort out the main layout issues).

Rather than having two grids on each filemask tab, I was thinking along the lines of this:


The checkboxes would indicate if the folder's sub-folders are also excluded.  I'm looking for suggestions on how to make this more obvious to the end user.

If there are any users who want to test under an operating system before Windows 2000 let me know.  The current setup.exe requires Win 2000 and above only because I haven't tested for the OS version in my code (to determine whether I should be creating certain registry keys).

If I know someone wants to test DCSUtil.exe to achieve the same result as Windows Disk Cleanup then I'll make the appropriate changes and update the installation.

To justify putting masks on each tab - I have another application where I placed them in a list with checkboxes and it become a pain (mainly because I could not easily filter which folders to exclude).  This suite allowed me to clear out over 400MB of files within 4 parses today (modifying the configuration until I was happy).

Using the tabs, I quickly dropped 4000+ files down to 2000+ - and then cleared nearly half a gig !

With the amount of development I do, this tool is perfect in design (in my opinion).

I don't like the config tool much so am open ears for suggestions on GUI changes - I especially want to get rid of the grid and replace / update it with something better.

The current code is completely pure VCL (including my own framework that complements the VCL) except for a single component to display folders (from Shell Control Pack).  Over time I'll update with better components as required - starting with the configuration layout.

Just to clarify one thing - the folders are excluded folders, not included folders.  if nothing is defined then the entire drive is scanned.

My approach to the multiple masks and folders/mask is based on my own requirements - this is a definite must.

OBJ files for example : I want them deleted from my own projects but not from 3rd party products.

As for the explanation of the Windows Cleanup Manager - I'll do some work in the final docs.

On this issue of Windows 2000 and above, this is only the case if you want to use the Windows Cleanup tool only.  If you are using an earlier version of Windows, my utility DCSUtil will do the same job for you.

Here is my initial submission for this contest.  The suite is fully functional and has performed well for me (I just cleaned 400+ MB of temporary files from my development machine).

The "Development Cleaning Suite" (DCS) is a utility that provides a cleanup handler for Widows 2000 and above.  Additionally, the suite includes a configuration tool as well as an independant host (DCSUtil) for the handler - providing for additional benefits and more advanced features.

You can download the installation and a PDF file explaining everything (8 pages) from the bottom of this page.

I won't start on help files until the tool is finished due to major screen changes.

An example of its presence with the Windows Disk Cleanup Tool:


Clicking the "Review" button shows a detailed view of all files found and allows you to indicate which files should / should not be deleted.


Using the DCSUtil to perform the scan/purge



Here is a screen shot of the configurator


Note: Although I have thoroughly tested the provided tools please test carefully.  By default, all deletions are sent to the recycle bin.

Pages: [1]