Enhancement #2772

Uniformed path for System-Config in Windows

Added by S. Barut 9 months ago. Updated 8 months ago.

Status:NewStart date:10/09/2018
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


Currently, the path where the system-wide rsb.conf lies is not specified under windows. (see: http://docs.cor-lab.org/rsb-manual/trunk/html/specification-config.html#effective-configuration ; PREFIX is not clearly defined).

Some proposals would be:

- C:\rsb.conf
Straightforward but maybe too messy and not clear enough...

- C:\Users\Public\.config\rsb.conf
Would have a userprofile\.config\rsb.conf design, but beeing effective for every user (Public) making it system-wide

It is more or less a proposal derived from:

Actually "C:\Users\Public" is only intended for documents but with the ".config" subdirectory it should be a nice and clear like in the home directory.


#1 Updated by J. Wienke 9 months ago

Is the .config prefix used on windows normally for the user configuration?

#2 Updated by S. Barut 8 months ago

Nope, the preferred path is %USERPROFILE%\AppData\Local\<MyCompany>\<MyApp> (see the link above)
Honestly, the only applications using .config in my local system are gitk, npm and rsb...
But I thought it was decided to use USERPROFILE\.config since it is the currently used directory and a change would imply adjustments on productive systems.

However, if we want to decide to use the usual win way, we would have to choose something like:

For system-wide config:
- C:\ProgramData\CoR-Lab\RSB\rsb.conf

For user config:
- %USERPROFILE%\AppData\Local\CoR-Lab\RSB\rsb.conf

Maybe the Roaming folder would be better than Local, as the configs get synchronized when a server is used to login.

Also available in: Atom PDF