Article View: borland.public.cppbuilder.nativeapi
Article #12858Re: ParamStr() extraction
From: Remy Lebeau (TeamB)
Date: Mon, 17 Nov 2003 00:51
Date: Mon, 17 Nov 2003 00:51
13 lines
1535 bytes
1535 bytes
"Conny H๏ฟฝkansson" <conny@allimac.se> wrote in message news:3fb80d2c@newsgroups.borland.com... > Ok, but i only want the filename, not the entire path of the application. Which filename are you actually referring to? A filename that is passed on the command line, or the filename of the application itself? Those are very different things. For the former, use ParamStr(). For the latter, use the Application->ExeName property instead. Either way, to obtain just a filename without any path, use the ExtractFilePath() function. Gambit
Technical Details
Message-ID:
<3fb81ad3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fb7fde1@newsgroups.borland.com> <3fb80881$1@newsgroups.borland.com> <3fb80d2c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10cc67,470da9c3a4dba621 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-16 17:09:17 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fb7fde1@newsgroups.borland.com> <3fb80881$1@newsgroups.borland.com> <3fb80d2c@newsgroups.borland.com> Subject: Re: ParamStr() extraction Date: Sun, 16 Nov 2003 16:51:48 -0800 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.149 Message-ID: <3fb81ad3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069030099 67.22.137.149 (16 Nov 2003 16:48:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail