Jump to content


How To Add Tilde "~"?


3 replies to this topic

#1 OFFLINE   Robb

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 24 August 2008 - 04:42 PM

How do I add the tilde"~", so that CC, will find the files for deletion?

#2 OFFLINE   Disk4mat

    Power Member

  • Members
  • PipPipPipPip
  • 568 posts
  • Gender:Male
  • Location:Mesa, AZ

Posted 25 August 2008 - 10:10 AM

I just tried this and it worked. In my CCleaner.ini file I added the line:
Include1=PATH|C:\Windows\|*~*

I created a few files with ~ in the name and CC found them. In CC in the Cleaner section check the box 'Custom files and folders' in the Advanced section. This also assumes under Options, Advanced you have 'Save all settings to INI file' checked.

Replace the example path C:\Windows with the path you want to check for files. You could also use the recurse option to scan all subfolders. Example: Include1=PATH|C:\Windows\|*~*|RECURSE

#3 OFFLINE   Andavari

    Captain Spectacular

  • Moderators
  • 13,324 posts
  • Gender:Male
  • Location:Shadow Moses

Posted 25 August 2008 - 10:50 AM

View PostDisk4mat, on Aug 25 2008, 04:10 AM, said:

I just tried this and it worked. In my CCleaner.ini file I added the line:
Include1=PATH|C:\Windows\|*~*

View PostDisk4mat, on Aug 25 2008, 04:10 AM, said:

Example: Include1=PATH|C:\Windows\|*~*|RECURSE
I think those are both verging on being dangerous especially the second one quoted because it will find many of the $NtUninstall files hidden away in those uninstall folders.

In my opinion to remove them safely either wait for CCleaner to natively support it, which I don't know if it ever will. Or download a cleaning program that finds those files.
Complexity of incoherent design.

#4 OFFLINE   Disk4mat

    Power Member

  • Members
  • PipPipPipPip
  • 568 posts
  • Gender:Male
  • Location:Mesa, AZ

Posted 25 August 2008 - 11:22 AM

Andavari, good point. I forgot that there are some files with a ~ that may not be junk. Thanks :)