Article View: borland.public.cppbuilder.nativeapi
Article #9865Re: Compressing a long path
From: Ed Mulroy [TeamB]
Date: Fri, 11 Jun 2004 16:53
Date: Fri, 11 Jun 2004 16:53
15 lines
1319 bytes
1319 bytes
Look at PathCompactPath function. http://www.shorl.com/hobrobistumoke or http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/shlwapi/path/pathcompactpath.asp . Ed > JD wrote in message > news:40c9aa76$1@newsgroups.borland.com... > > Is there an API which will compress a long path > to something like: > > "C:\Program Files\...\LastFolderName"
Technical Details
Message-ID:
<40c9e37e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40c9aa76$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,69f761a2b482ea47 X-Google-Attributes: gid10cc67,public From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.nativeapi References: <40c9aa76$1@newsgroups.borland.com> Subject: Re: Compressing a long path Date: Fri, 11 Jun 2004 12:53:05 -0400 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 12.161.27.44 Message-ID: <40c9e37e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1086972798 12.161.27.44 (11 Jun 2004 09:53:18 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail