Jump to content


Feature Request


9 replies to this topic

#1 OFFLINE   nicklad

    Newbie

  • Members
  • Pip
  • 7 posts
  • Location:Nottingham, UK

Posted 15 May 2005 - 02:45 AM

The following two features would be exceptionally useful for me:

1. The ability to delete the remenance of any roaming profiles from a hard disk. (In the documents and settings folder.)

2. The ability to delete any folders in the windows directory that begin with a $. (Such as the $NTUninstall*$ directories and $NtServicePackUninstall$).

Cheers and thanks for an awesome program!,

Nick

#2 OFFLINE   DjLizard

    Dial-a-fix author

  • Members
  • PipPipPipPip
  • 1,339 posts

Posted 15 May 2005 - 02:51 AM

#1 is extremely risky because of the rare possibility of deleting a real account... and the difficulty. It's also not something the average user will be doing often (or ever). If you're an administrator and have to do this often, write a script or applet.

#2 is not recommended out of sheer principal.

#3 OFFLINE   agumon

    Digimon

  • Members
  • PipPipPipPip
  • 1,199 posts
  • Gender:Male
  • Location:Digital World

Posted 15 May 2005 - 02:53 AM

Quote

1. The ability to delete the remenance of any roaming profiles from a hard disk. (In the documents and settings folder.)

2. The ability to delete any folders in the windows directory that begin with a $. (Such as the $NTUninstall*$ directories and $NtServicePackUninstall$).
make these option optional if decided to add into CCleaner... i want to keep my...
--==aGumon==--

#4 OFFLINE   nicklad

    Newbie

  • Members
  • Pip
  • 7 posts
  • Location:Nottingham, UK

Posted 15 May 2005 - 03:03 AM

Can anyone tell me what I have done wrong with this rule? - It doesnt seem to have any effect...

[Windows Backups]
LangSecRef=3025
Default=True
FileKey1=%windir%\|$*|RECURSE

#5 OFFLINE   TwistedMetal

    Forum Moderator

  • Moderators
  • 1,539 posts
  • Gender:Male
  • Location:Glendale, AZ
  • Interests:CCleaner, Computers, and Movies

Posted 15 May 2005 - 03:37 AM

$* this is not a vaild CCleaner command. You need the full path name.
Your Friendly Neighborhood Piriform Forum Moderator
Quick Links: Piriform Documentation | Downloads | CCleaner for Mac OSX

#6 OFFLINE   Tarun

    Lunarian

  • Banned
  • PipPipPipPipPip
  • 3,071 posts

Posted 15 May 2005 - 02:30 PM

TwistedMetal, on May 14 2005, 11:37 PM, said:

$* this is not a vaild CCleaner command. You need the full path name.

<{POST_SNAPBACK}>

That shouldn't be the problem.

FileKey1=%windir%\|$*|RECURSE

Should be:

FileKey1=%windir%|$*

#7 OFFLINE   nicklad

    Newbie

  • Members
  • Pip
  • 7 posts
  • Location:Nottingham, UK

Posted 15 May 2005 - 03:00 PM

Tarun, on May 15 2005, 03:30 PM, said:

That shouldn't be the problem.

FileKey1=%windir%\|$*|RECURSE

Should be:

FileKey1=%windir%|$*

<{POST_SNAPBACK}>


Still doesnt work :(

Does it make a difference that these folders are, by default, hidden, read only and compressed? Or is it the $ character that is confusing CCleaner?

#8 OFFLINE   MrG

    Administrator

  • Admin
  • 1,111 posts
  • Gender:Male
  • Location:London, UK

Posted 15 May 2005 - 03:41 PM

This won't work, for security reasons, as the second parameter "$*" only applies to files and not folders.

#9 OFFLINE   nicklad

    Newbie

  • Members
  • Pip
  • 7 posts
  • Location:Nottingham, UK

Posted 05 June 2005 - 08:01 PM

This could be achieved with:

Public Sub CleanPatchArchive()
    On Error Resume Next
    Dim fs, f, f1, fc
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set f = fs.GetFolder(Environ("windir"))
    Set fc = f.SubFolders
    For Each f1 In fc
        If f1.Name Like "$*$" Then
            fs.DeleteFolder Environ("windir") & "\" & f1.Name
        End If
    Next f1
End Sub


#10 OFFLINE   Andavari

    Captain Spectacular

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

Posted 06 June 2005 - 07:48 AM

I second what DjLizard said!

CCleaner is a safe cleaner, having it mess with whole profiles or windows backups would make it an unsafe cleaner that the average user would eventually make a grave mistake because they wouldn't know what they're doing, hell even an experienced user could shoot themself in both foot. I can only image the complaints that would spawn up all over the forum with people saying it deleted a profile, it deleted a Win backup and now a service pack can't be removed, etc.
Complexity of incoherent design.