How Can I Relocate my xnview.ini File off my C Drive

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
J Smith
Posts: 52
Joined: Fri Feb 09, 2007 8:30 am

How Can I Relocate my xnview.ini File off my C Drive

Post by J Smith »

I just installed xnview for the first time. I haven't used it before. I installed it to f:\program files\xnview.

My immediate problem is with the location of the .ini file. Using a Win98 SE single user system, the install set up an xnview directory in c:\windows\application data.

My immediate problem is that it is using that directory for the thumbnail cache and the file quickly hit 30 MB and growing. I have a space shortage on my c drive resolution of which would take several hours. I would have to repartition, reformat, and copy the drive to and from another drive.

The longer term problem is that it also put xnview.ini in that directory. I back up my c drive irregularly when I change my system, not daily like I do some of my other partitions. I want the .ini file on a partition that I back up daily.

I tried deleting the .ini file and copying it to the program files\xnview directory. That didn't work. It rewrote the .ini file back in that directory.

I don't want to change to use the registry option because that defeats my wanting to put the .ini file on a partition that I back up daily.

How can I relocate the .ini file?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How Can I Relocate my xnview.ini File off my C Drive

Post by xnview »

J Smith wrote:I just installed xnview for the first time. I haven't used it before. I installed it to f:\program files\xnview.

My immediate problem is with the location of the .ini file. Using a Win98 SE single user system, the install set up an xnview directory in c:\windows\application data.

My immediate problem is that it is using that directory for the thumbnail cache and the file quickly hit 30 MB and growing. I have a space shortage on my c drive resolution of which would take several hours. I would have to repartition, reformat, and copy the drive to and from another drive.

The longer term problem is that it also put xnview.ini in that directory. I back up my c drive irregularly when I change my system, not daily like I do some of my other partitions. I want the .ini file on a partition that I back up daily.

I tried deleting the .ini file and copying it to the program files\xnview directory. That didn't work. It rewrote the .ini file back in that directory.

I don't want to change to use the registry option because that defeats my wanting to put the .ini file on a partition that I back up daily.

How can I relocate the .ini file?
In Option/System integration
Pierre.
J Smith
Posts: 52
Joined: Fri Feb 09, 2007 8:30 am

Post by J Smith »

Thanks for the info.

With the xnview option, I got it off my c: drive.

However, that is not ideal because my frequency of backup of my program files directory is whenever I add new programs.

The ideal solution would be to provide like, at menu, tools, options, thumbnails, cache tab, "use folder," a custom option to specify "application data" or some other directory.
User avatar
foxyshadis
Posts: 395
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

Hmm, the cache is rebuildable though, so there's no good reason to keep around something that could be 100 megs easy. (It violates Microsoft's design principles to allow it in appdata as well.) But unfortunately with 1.90 the other new goodies, like categories and favorites, have been included in the primary cache instead of given their own database. ;_;

I think it would make a lot of sense to have a database that has nothing but image caches, even if the SQL for the browser will be slightly more complex, because it's basically a huge, expendable hog. I like that the image cache in all one database now, but don't like that everything else is as well. The much smaller database with everything else should go wherever xnview.ini is, really.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

J Smith wrote:Thanks for the info.

With the xnview option, I got it off my c: drive.

However, that is not ideal because my frequency of backup of my program files directory is whenever I add new programs.

The ideal solution would be to provide like, at menu, tools, options, thumbnails, cache tab, "use folder," a custom option to specify "application data" or some other directory.
Ok, i'll add specific path
Pierre.
murthy363
Posts: 76
Joined: Fri Feb 09, 2007 11:43 am
Location: India
Contact:

Re: How Can I Relocate my xnview.ini File off my C Drive

Post by murthy363 »

I request to look into the possibility of moving all the user selected location settings of thumbnail cache, .ini file and other files to a single location in the settings, rather than the present locations of Thumbnails Cache & System Integration.
I am a lazy person, always searching for ways to avoid work and still manage the show !

My System : Win XP SP2 + XnView standard English version
Post Reply