Reply-To: erik.wachtmeester@bighole.iaf.nl
Stewart Honsberger wrote in a message to All:
SH> Under FPC/Linux, does anybody know how to get the directory the program
SH> binary file resides in?
Just curious, but why do you need that info?
In single user environments like DOS, Win and OS/2 (non server versions) it's a
nice way to get a place to store settings files, etc. but under a multiuser
system like linux you're supposed to store your system wide settings in /etc or
/usr/etc and the user specific settings in the home dir of that user.
Always expect that a normal user (and thus your application!) will not have
create or edit rights in the directory where your application resides.
Regards,
Erik
/======================================================================
| Orange County Usenet Fidonet gateway
|
| User email address: Erik.Wachtmeester.noemail@webworldinc.com
| FTN email: Erik Wachtmeester[RemoveThis]@p2.f7.n283.z2.fidonet.org
| User FidoNet address: 2:283/7.2
| Report abuse of this service to joejared@webworldinc.com
|