Page 1 of 1

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

Posted: Fri Feb 09, 2007 9:02 am
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?

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

Posted: Fri Feb 09, 2007 12:13 pm
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

Posted: Sun Feb 11, 2007 5:49 am
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.

Posted: Sun Feb 11, 2007 9:43 am
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.

Posted: Sun Feb 11, 2007 9:48 am
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

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

Posted: Sun Feb 11, 2007 11:19 am
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.