🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11930

Re: Finding the name of the Program Files directory

#11930
From: JD
Date: Wed, 07 Jan 2004 14:48
9 lines
1019 bytes
Fernando  <frr@easyjob.net> wrote:
> How can I find the name of the 'program files' directory?

If you're using the VCL:

    String Path = ExtractFilePath( Application->ExeName );

~ JD
Technical Details
Message-ID: <3ffc2a42$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <8rtnvvs0ekdahr4ti11p9tbhpvvek5taju@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8234f234f0df84a1
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-07 08:09:46 PST
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Finding the name of the Program Files directory
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.139.106.42     
References:  <8rtnvvs0ekdahr4ti11p9tbhpvvek5taju@4ax.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <3ffc2a42$1@newsgroups.borland.com>
Date: 7 Jan 2004 07:48:18 -0700
X-Trace: newsgroups.borland.com 1073490498 207.105.83.66 (7 Jan 2004 07:48:18 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail