-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 2019.4.19.1000, changes to handler processing, new icon & ass…
…embly name
- Loading branch information
1 parent
2f24d6a
commit 67af27a
Showing
14 changed files
with
88 additions
and
55 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
# Managed Disk Cleanup (Comet) | ||
Comet is a managed version of Disk Cleanup developed in C#. | ||
Its purpose is to help out those who would like to automate specific cleanup related tasks. | ||
It also serves as a peek into the world of backwards compatibility, given the fact that the Disk Cleanup API has barely changed since its introduction in 1997. | ||
# Managed Disk Cleanup | ||
![Logo](https://i.imgur.com/RFB7RjN.png) | ||
|
||
Changes made to the Data Driven Cleaner object's functionality introduced in Windows 8 appear to be essential in order for the object to be activatable through a C# program. As a result, users running Windows 7 or older will be met with a message informing them of limited functionality at startup. | ||
The goal of this project is to create an experience similar to the inbox Disk Cleanup program that ships with Windows. While regular users may simply opt to use this project as a free and open-source alternative, developers can make use of it to learn about the inner workings of the EmptyVolumeCache API that has been almost unchanged since its inception in 1997. | ||
|
||
# Working with COM | ||
This project is among the first few where I've worked with COM, thus some implementation may not be exactly ideal. Feedback is greatly appreciated. | ||
One of the incentives for this project's development is the opened possibility for creating scripts or programs that clean up precisely what you want, instead of having to resort to using Disk Cleanup with command line arguments. | ||
|
||
Some of the goals for future releases: | ||
|
||
- Introduce Restore Point cleanup (Disk Cleanup offers this in its second tab in Administrator mode) | ||
- Command line-only mode -- intended for better automation, with granular progress reporting | ||
- An improved system for remembering which categories you've selected (currently mimics Disk Cleanup) | ||
- Create a repository with a ready-made example for utilizing the API outside of a GUI | ||
|
||
## Incompatibilities | ||
Windows 8 introduced changes to the "Data Driven Cleaner" object that are essential for it to work under C#. This is a generic cleanup handler utilized by a handful of the offered cleanup categories. As a result, users using Windows 7 or an earlier OS will be met with a message informing them of limited functionality at startup. | ||
|
||
## Reporting errors or bugs | ||
If you happen to run into any of these, filing an issue here will be the most helpful. Besides describing the problem itself, please also include: | ||
- Your system version (ideally the build number from winver) | ||
- Your current system locale | ||
- Whether you were running the program as Administrator | ||
|
||
## Suggesting features / providing feedback | ||
In case you'd like to share a suggestion, reaching out to me on [Twitter](https://twitter.com/thebookisclosed) would be the best. |