Jump to content

Problem with appdata path in Win7 (german)


Pit99

Recommended Posts

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

Link to comment
Share on other sites

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.

System setup: http://speccy.piriform.com/results/gcNzIPEjEb0B2khOOBVCHPc

 

A discussion always stimulates the braincells !!!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.