Not sure if there is a bug in V2 beta 491, or if I am just missing the obvious. Simply trying to clean TMP files out of my root folder in Vista. Winapp2.ini entry is as follows:
[Misc Apps]
LangSecRef=3021
DetectFile=%ProgramFiles%\CCleaner\CCleaner.exe
Default=True
FileKey1=%rootdir%|*.tmp
The 'test.tmp' file that I placed in my root folder does not delete. Would someone kindly confirm an error in my entry or the possibility of a bug? THANKS !
Bad Entry in Winapp2.ini or Bug ?
Started by Shodan, Aug 29 2007 02:05 PM
7 replies to this topic
#1 OFFLINE
Posted 29 August 2007 - 02:05 PM
#2 OFFLINE
Posted 29 August 2007 - 04:43 PM
Yeah I've never been able to get the %rootdir% parameter to work in CCleaner via winapp2.ini.
You instead have to use:
%systemdrive%
This is the correction:
Note that we're currently using * in front of the winapp2.ini entries to distinguish them against cleaning routines that are installed by CCleaner's installer.
I'll PM TwistedMetal so that he knows of this.
You instead have to use:
%systemdrive%
This is the correction:
[*Misc Apps] LangSecRef=3021 DetectFile=%ProgramFiles%\CCleaner\CCleaner.exe Default=True FileKey1=%systemdrive%|*.tmp
Note that we're currently using * in front of the winapp2.ini entries to distinguish them against cleaning routines that are installed by CCleaner's installer.
I'll PM TwistedMetal so that he knows of this.
#3 OFFLINE
Posted 29 August 2007 - 05:04 PM
I changed my entry to %systemdrive% (copied and pasted your reply) and still no luck. Were you able to get it to delete a tmp file in Vista ? If I simiply change the folder the tmp file is in, it works like a charm, so I am wondering if it could be either a bug or a privs issue. I dont think it s a privs issue because I am the admin and I can add and delete files in the root folder at will...
#4 OFFLINE
Posted 29 August 2007 - 05:10 PM
Shodan, on Aug 29 2007, 12:04 PM, said:
I changed my entry to %systemdrive% (copied and pasted your reply) and still no luck. Were you able to get it to delete a tmp file in Vista ?
#5 OFFLINE
Posted 29 August 2007 - 05:16 PM
Thanks for trying ! ! I do believe it is a Vista thing. Hope someone reads this thread and tries it on Vista just to confirm it's not only mine. Thanks again !
#6 OFFLINE
Posted 29 August 2007 - 07:49 PM
EUREKA ! Problem resolved for Vista, and it was not a bug in CCleaner. Found this KB article on the MS website. Turns out you have to CREATE the
%rootdir% environment variable on Vista - it's not already there as in previous versions of Windows. Once I created it, following this KB article, CCleaner wiped the TMP files out of my C:\ folder like a charm. Hope this tip saves someone else some agony.
KB article: http://support.microsoft.com/kb/931715
%rootdir% environment variable on Vista - it's not already there as in previous versions of Windows. Once I created it, following this KB article, CCleaner wiped the TMP files out of my C:\ folder like a charm. Hope this tip saves someone else some agony.
KB article: http://support.microsoft.com/kb/931715
#7 OFFLINE
#8 OFFLINE
Posted 29 August 2007 - 10:50 PM
[*Misc Apps]
LangSecRef=3021
DetectFile=%ProgramFiles%\CCleaner\CCleaner.exe
Default=True
FileKey1=%rootdir%\|*.tmp
BUT, only after I created %rootdir% as an environment variable in Vista.
LangSecRef=3021
DetectFile=%ProgramFiles%\CCleaner\CCleaner.exe
Default=True
FileKey1=%rootdir%\|*.tmp
BUT, only after I created %rootdir% as an environment variable in Vista.












