%SystemRoot%\YServer.txt not deleting

I have in Winapp2.ini:

[Yahoo! Messenger (Non-Chat Log)]

LangSecRef=3022

Detect=HKCU\Software\Yahoo\pager

Default=True

FileKey1=%ProgramFiles%\Yahoo!\Messenger|ypager.log

FileKey2=%ProgramFiles%\Yahoo!\Messenger\Cache|*.*|RECURSE

FileKey3=%ProgramFiles%\Yahoo!\Messenger\imvcache|*.*|RECURSE

fileKey4=%SystemDrive%\YServer.txt

and it's selected but when I <Analyse> it doesn't show fileKey4. Any ideas why?

What's the exact path to that file without variables? e.g.;

C:\YServer.txt

What's the exact path to that file without variables? e.g.;

C:\YServer.txt

Yes that is the answer....

Yes that is the answer....

Just tried to reproduce.

I get this error from CCleaner:

Error in file: C:\Program Files\CCleaner\winapp.ini

line: Filekey4=%SystemDrive%\YServer.txt

9 - Index out of interval range (or something similar, my WinXp is italian :-))

Wonder if CCleaner can't (safely) delete any file saved in Root... :unsure:

Just tried to reproduce.

I get this error from CCleaner:

Error in file: C:\Program Files\CCleaner\winapp.ini

line: Filekey4=%SystemDrive%\YServer.txt

9 - Index out of interval range (or something similar, my WinXp is italian :-))

Wonder if CCleaner can't (safely) delete any file saved in Root... :unsure:

Because this: %SystemDrive%\YServer.txt

Must be written like this: %SystemDrive%|YServer.txt

The reason is because a backslash "\" was used, when CC expects there to be a upward slash "|" which is rather unintuitive and to this day I still forget about it when making some winapp2.ini entries.

So the corrected entry would be:

[Yahoo! Messenger (Non-Chat Log)]
LangSecRef=3022
Detect=HKCU\Software\Yahoo\pager
Default=True
FileKey1=%ProgramFiles%\Yahoo!\Messenger|ypager.log
FileKey2=%ProgramFiles%\Yahoo!\Messenger\Cache|*.*|RECURSE
FileKey3=%ProgramFiles%\Yahoo!\Messenger\imvcache|*.*|RECURSE
fileKey4=%SystemDrive%|YServer.txt