On Sun, 31 Dec 2017 08:28:21 +0000
The Natural Philosopher wrote:
> On 31/12/17 05:57, Charlie Gibbs wrote:
> > On 2017-12-30, Axel Berger wrote:
> >
> >> Charlie Gibbs wrote:
> >>
> >>> I still write freestanding executables for Windows.
> >>
> >> Are you able to store user settings in the program folder on a recent
> >> Windows?
> >
> > Dunno. I generally look for a CSV file called .cfg in the
> > current directory (where the executable lives), and allow command-line
> > parameters to override it.
> >
>
> How very single user of you.
If he wants per-user config he could use -.cfg
or config/default config/fred ... or have multiple user configs in the same
file or have per-user installs with the program hard linked in all of them
(or just copied given that disc space is plentiful these days). All this
assuming that you can write to the program directory.
--
Steve O'Hara-Smith | Directable Mirror Arrays
C:\>WIN | A better way to focus the sun
The computer obeys and wins. | licences available see
You lose and Bill collects. | http://www.sohara.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|