🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #854

Re: How to find .ini file?

#854
From: Les Moss
Date: Mon, 28 Sep 1992 16:37
21 lines
1561 bytes
I don't agree that .ini files should be placed in the program directory.
First, it will not work if the program is shared either by multiple users 
on one machine, or over a network.  Second, I don't backup my program 
directories, but I do want to backup my .ini files. Having them all in 
one place makes this easy.

Don't fight the Private Profile API. Just use it so that your app works 
the way everyone expects it to. 

I would also recommend that all programs allow the name or full path
to their .ini file be specified on their command line. This provides for
people who don't want to dirty their Windows directory or maintain
multiple icons for a program with different configurations.

In general, I feel that prograns should not place any changable data
in the program directory.

Les Moss                      moss@tti.com
Citicorp TTI
3100 Ocean Park Blvd.   (310) 450-9111, ext. 2982
Santa Monica, CA  90405
Technical Details
Message-ID: <1992Sep28.163715.18096@ttinews.tti.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!olivea!spool.mu.edu!darwin.sura.net!wupost!usc!news.service.uci.edu!ttinews!soldev!moss
References: <1992Sep17.231306.9681@emr1.emr.ca> <1992Sep16.171727.25013@sctc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!olivea!spool.mu.edu!darwin.sura.net!wupost!usc!news.service.uci.edu!ttinews!soldev!moss
From: moss@soldev.TTI.COM (Les Moss)
Newsgroups: comp.windows.ms.programmer,comp.os.ms-windows.programmer.misc
Subject: Re: How to find .ini file?
Message-ID: <1992Sep28.163715.18096@ttinews.tti.com>
Date: 28 Sep 92 16:37:15 GMT
References: <1992Sep17.231306.9681@emr1.emr.ca> <1992Sep16.171727.25013@sctc.com>
Sender: usenet@ttinews.tti.com (Usenet Admin)
Reply-To: moss@soldev.TTI.COM (Les Moss)
Distribution: usa
Organization: Citicorp/TTI
Lines: 21
Nntp-Posting-Host: soldev.tti.com