Article View: borland.public.cppbuilder.nativeapi
Article #13350GetPartialFileName
From: Stephane Baillargeon
Date: Fri, 17 Oct 2003 05:29
Date: Fri, 17 Oct 2003 05:29
13 lines
1230 bytes
1230 bytes
Is there a function in the WinAPI that can give me the filename part and leave behind the directory? Ex: "C:\Path1\Path2\Filename.fil" to this "Filename.fil" I know I can parse the string (substr) and hard code it myself but if there's already something in the WinAPI, why bother :) Thanks.
Technical Details
Message-ID:
<3f8f7e6f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5015eee32f4897a5,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-16 22:38:58 PST From: "Stephane Baillargeon" <sbaillargeon@microids.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: GetPartialFileName Date: Fri, 17 Oct 2003 01:29:02 -0400 Lines: 15 Organization: Microids Canada 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: 65.94.238.185 Message-ID: <3f8f7e6f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066368623 65.94.238.185 (16 Oct 2003 22:30:23 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail