Article View: borland.public.cppbuilder.nativeapi
Article #6511Re: get the file name
From: Vladimir Stefanovic
Date: Thu, 05 May 2005 16:47
Date: Thu, 05 May 2005 16:47
19 lines
1386 bytes
1386 bytes
#include <SysUtils.Hpp> AnsiString FullFileName = "C:\\Test\\myfile.jpg"; ShowMessage( ExtractFileName( FullFileName ) ); Look also the rest of ExtractFile* functions... -- Best regards, Vladimir Stefanovic "Danid" <together24@yahoo.com> wrote in message news:427a4d8b$1@newsgroups.borland.com... > > I have a path and I want to extract the file name. > C:\Test\myfile.jpg I want to have myfile.jpg > > Thanks,
Technical Details
Message-ID:
<427a4e2e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!msrtrans!msrn-in!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<427a4d8b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5d486638eafd6e6f,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu> Newsgroups: borland.public.cppbuilder.nativeapi References: <427a4d8b$1@newsgroups.borland.com> Subject: Re: get the file name Date: Thu, 5 May 2005 18:47:53 +0200 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 82.117.212.65 Message-ID: <427a4e2e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1115311662 82.117.212.65 (5 May 2005 09:47:42 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!msrtrans!msrn-in!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail