TIP: Click on subject to list as thread! ANSI
echo: pascal
to: ALL
from: `Erik Wachtmeester`
date: 1999-03-11 00:00:00
subject: FPC/Linux

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

SOURCE: alt.fidonet via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.