Jump to content


winapp2.ini - how to add a program with variables


3 replies to this topic

#1 OFFLINE   mr_samuel

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 17 September 2006 - 09:49 AM

Is there any way to add a program to winapp2.ini that may have the files you want to remove stored anywere, and not in a standard location?

For instance I am trying to clean (.sqm) files for windows live messenger, however they are not stored in any one location and appear to pop up all over the place. How can I add this into winapp2.ini?

Thanks!

#2 OFFLINE   Oliver

    Advanced Member

  • Members
  • PipPipPip
  • 77 posts
  • Location:Hamburg / Germany
  • Interests:Chess

Posted 23 September 2006 - 07:12 AM

CCleaner doesnŽt use wildcards like *.*

CCleaner needs an exact assignation on where to find the files to be deleted within their directories.

IŽd wish an ability within CCleaner aswell, to trake advantage of wildcards - it would definately purify the amount of programing (definition)-code, combined with much more effectiveness, as I believe...


Oliver

#3 OFFLINE   TonyKlein

    Power Member

  • Spyware Moderators
  • 606 posts
  • Gender:Male
  • Location:Netherlands

Posted 23 September 2006 - 10:12 AM

It's not often that the number of locations in which a particular file you want CCleaner to delete is found is so large that you'd actually need that type of wildcard.

I looked around, and here the sqmfiles are created only in my Application Data\Microsoft\MSN Messenger\********** folder (where the asterisks represent the name of the subfolder in question

I just added the following winapp2.ini entry which does the trick, but of course only for sqm files in that particular folder.

You could add other folders where you find these files being created. There can't be dozens of them...

Quote

[MSN Live Messenger]
LangSecRef=3022
Detect=HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\SQM
Default=True
FileKey1=%userprofile%\Application Data\Microsoft\MSN Messenger\1231231231|*.sqm

(NOTE: in that rule, replace "1231231231" by the name of the subfolder in your particular profile!

#4 OFFLINE   mr_samuel

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 23 September 2006 - 11:37 AM

Another instance when this sort of thing is required when using certain P2P programs, like Shareaza. Shareaza stores an XML file for every single download in the download location, which is set by the user. For example if the download location was set to "c:\folder\shareaza downloads\" then XML files for all previous downloads would be in "c:\folder\shareaza downloads\metadata\".

So, what is needed is a way to read the reg key to find out the download location, and then to delete the specified files from it.