Pit99
August 27, 2010, 12:29pm
1
Hello,
I want to delete the database file xnview.db which is in C:\Users\My Name\AppData\Roaming\XnView when running CCleaner.
First I tried FileKey1=%appdata%\XnView\xnview.db which showed "0 byte to delete", and I found out, it's because
there is a space in My Name.
Then I tried FileKey1="%appdata%\XnView" (with quotes) which showed "*XnView 135kB 3Files", ok so far, but I only want
to delete one of these files.
When I try
FileKey1="%appdata%\XnView"|XnView.db or
FileKey1="%appdata%\XnView"|*.db or
FileKey1="%appdata%\XnView"|*.*
it always shows "0 byte to delete", and I can't find the reason.
Thanks in advance for help,
Regards, Peter
Willy2
August 27, 2010, 3:12pm
2
I think I know what went wrong.
1. The first line didn't work because:
-- of that space in your username.
-- with \xnview.db you told CC that it must look for a folder called xnview.db . When you would use xxxx|yyyy it would tell CC to look for a folder called xxxx with a file yyyy in it.
2. The last three don't work because you must either enclose the entire string in quotation marks or nothing in quotation marks. Not only some part of the string. My suggestion: get rid of all the quotation marks.
Pit99
August 27, 2010, 3:42pm
3
Thank you for your reply. I read the line FileKey1=... several times, but finally
used a backslash instead of a pipe symbol. It seems, the space in My Name doesn't
matter at all.
So, if it is of interest for other users (XnView is a free picture viewer & converter):
[*XnView]
LangSecRef=3024
Detect=HKCR\Applications\xnview.exe
Default=True
FileKey1=%appdata%\XnView|xnview.db
Thank you for your help,
Peter