How to move winboard.ini to other directory?

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

How to move winboard.ini to other directory?

Postby pstein » 05 Mar 2017, 10:50

On Windows OS WinBoard creates its "winboard48.ini" settings file in
C:\Users\<username>\AppData\Roaming\

Is there a way to move the *.ini file to another location (e.g. the installation folder)?

Peter
pstein
 
Posts: 18
Joined: 17 Jul 2010, 15:28

Re: How to move winboard.ini to other directory?

Postby H.G.Muller » 07 Mar 2017, 15:33

Yes, there is. But then all users would share those same settings, and (depeding on where you install) you might not have permission to create or write files there, so that your settings cannot be saved at all. (Or Windows might hide them in an even more obscure place as the AppData/Roaming folder.)

The trick is to change the value specified for /settingsFile and /saveSettingsFile on the last lines of the winboard.ini file in the WinBoard installation folder. These specify what the actual file for saving user settings will be.

BTW, it is usually better the settings file is deeply hidden. Otherwise users might be tempted to start messing with it, (i.e. editing), which is bound to break things. But for people that want to carry a portable install on a memory stick that carries the settings with it, this is an inconvenience.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 17 guests