Article View: borland.public.cppbuilder.nativeapi
Article #16842How to Get the ExeName and Fie Path from a filename
From: Sky
Date: Tue, 22 Apr 2003 02:24
Date: Tue, 22 Apr 2003 02:24
8 lines
1221 bytes
1221 bytes
Hi all, I want get the ExeName and file path from a string with API, I know ExtractFilePath and ExtractFileName in BCB, Is there a API and do that? the string has been retrieve by GetCommandLine(), it maybe include other command parameter. TIA Sky
Technical Details
Message-ID:
<3ea4a7ff@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,54d84ada88133a7e,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-21 19:26:43 PST Reply-To: "Sky" <akeehuang@163.net> From: "Sky" <akeehuang@163.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to Get the ExeName and Fie Path from a filename Date: Tue, 22 Apr 2003 10:24:39 +0800 Lines: 10 Organization: CK X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 218.104.133.50 Message-ID: <3ea4a7ff@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050978303 218.104.133.50 (21 Apr 2003 19:25:03 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail