Article View: borland.public.cppbuilder.nativeapi
Article #4326Re: Clean up my filepath
From: SF
Date: Wed, 15 Feb 2006 08:29
Date: Wed, 15 Feb 2006 08:29
8 lines
1416 bytes
1416 bytes
> I have a string containing path and name of a file, like this: > "C:\Dir1\Dir2\Dir3\..\..\SomeFile.ext". The path is correct Not sure I understood, but have a look at PathCompactPath: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/Shell/reference/shlwapi/path/pathcompactpath.asp Stefano.
Technical Details
Message-ID:
<43f2e5e0@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!news2.euro.net!feeder1.cambrium.nl!feeder4.cambrium.nl!feed.tweaknews.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43f2e2db@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e97a769b105ea7a X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "SF" <invalid@NOSPAMinvalid.com> From: "SF" <invalid@NOSPAMinvalid.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43f2e2db@newsgroups.borland.com> Subject: Re: Clean up my filepath Date: Wed, 15 Feb 2006 09:29:49 +0100 Lines: 10 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: 81.208.124.114 Message-ID: <43f2e5e0@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1139992032 81.208.124.114 (15 Feb 2006 00:27:12 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!news2.euro.net!feeder1.cambrium.nl!feeder4.cambrium.nl!feed.tweaknews.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail