How do I include custom files for cleaning?

You can choose specific files, folders and Registry entries to be included or excluded from CCleaner operations.

Note: If you add an inclusion, you must select the Custom Files and Folders check box on the CCleaner screen.

Advanced_cleaning.png

You can add as many Include statements as necessary by repeating the following process.

To include files or folders in the CCleaner process:

  1. In CCleaner, click the Options icon at left.
  2. Click the Include section.
  3. Add a new include statement by clicking Add Item. This will load a dialog box:

    Add_include.png


  4. You can then select your items by:

    Field

    Explanation

    Include

    To choose a drive or folder to include, select Drive or Folder and enter the location path.

    To choose a file to include, select File and then enter the location path of the file. You can only add one file at a time.

    File Types

    This selection is only relevant when you have selected Drive or Folder.

    By default, CCleaner will include all files in the selected drive or folder. You can choose to include only files of a certain type. To do so, click File Types: and type one or more file extensions. For example,

    • *.doc to include all .DOC files
    • *.exe;*.bat to include all .EXE and .BAT files

    Options

    This selection is only relevant when you have selected Drive or Folder and have selected a folder.

    If you select Include files only, CCleaner will only delete files located in the folder you have included.

    Selecting Include files and subfolders will cause CCleaner to search all sub-folders within the selected folder for the files to be deleted.

    If the Include files, sub-folders and the folder itself option is selected CCleaner will first delete all the files that match the criteria, just like in the previous option and after that will delete every empty folder within the included one. 

Need further help?