Page 1 of 1

freecommander.ini is saving in appdata folder

Posted: 21.03.2011, 04:31
by scruffy
I'm using the standalone version of Freecommander PXE r531 and every time i exit it at uni I get an error message:

Folder is not writeable: C:\documents and settings\<user>\Application Data\FreeCommanderXE\Settings\freecommander.ini

I'm not sure if this is a bug or not, but as far as I can tell I've told it to save the settings in %FcAppDataPath%. Am I missing something?

It runs from a flash drive.

Re: freecommander.ini is saving in appdata folder

Posted: 21.03.2011, 07:34
by joby_toss
The app is doing exactly what you told it to do. And you probably don't have write rights for AppData (don't know why).
You would be better off using the %FcSrcPath% variable, so the settings are saved where FreeCommander.exe is (giving the fact that you're using a USB drive).
Hope it helps!

Re: freecommander.ini is saving in appdata folder

Posted: 21.03.2011, 07:49
by scruffy
Ahh, sorry, it was acting correctly I just was confused about what I told it to do.

Thankyou very much.

Re: freecommander.ini is saving in appdata folder

Posted: 31.03.2011, 11:21
by dajare
I'm having exactly the problem reported in post #1, but I cannot get FCXE to change my settings: it *always* tries to use %FcAppDataPath%. This is on a networked machine on which I am a "user" without full (only limited) rights to AppData.

Is there a command-line switch for path-to-ini, perhaps? I, too, would like the ini in the same folder as the exe (= %FcSrcPath%).

I'm using build 532, non-installer version. Thanks for any help with this!

Re: freecommander.ini is saving in appdata folder

Posted: 31.03.2011, 23:20
by Marek
freecommander.exe /Ini=

Remove freecommander.ini from %FcAppDataPath% and then start FC.

Re: freecommander.ini is saving in appdata folder

Posted: 01.04.2011, 09:35
by dajare
@Marek - thanks for that! There is now a "\fcxe\.wcx.ini" file saved, strangely (?) with only very few settings:

Code: Select all

[fc_internal_zip]
fcZipCompressionMode=6
fcZipEncryptionMode=0
fcZipSfxStub=%FcSrcPath%
fcZipVolumeSize=10 MB
And that's it, no matter what settings I change, save, "apply", etc. Is this expected? (My "FreeCommander.ini" file is almost 500 lines, by comparison!)

At least those error messages stopped! :) Thanks for your help!