Article View: borland.public.cppbuilder.nativeapi
Article #3121Re: how to convert 8.3 path to longPath
From: Bruce Salzman
Date: Sun, 15 Oct 2006 02:51
Date: Sun, 15 Oct 2006 02:51
22 lines
1587 bytes
1587 bytes
"Danny" <danny2912@libero.it> wrote in message news:4530b97b@newsgroups.borland.com... > Hi all, > Please, there is someone who can tell me how obtain the long path > for a specific file. Example: > > c:\program~1\test.txt (8.3 format) > in > c:\program files\test.txt (extended format) > > I have tried with "::GetFullPathName" but work only on file name. > But, I would want to convert also the folders. > > I have tried also with "::GetFirstFile" but I don't know how to > obtain the folders. > Try ::GetLongPathName() -- Bruce
Technical Details
Message-ID:
<4531a237@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!open-news-network.org!news.isoc.lu!news.albasani.net!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<4530b97b@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c4fa279f259e22de X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: " Bruce Salzman" <bruce@nospam.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <4530b97b@newsgroups.borland.com> Subject: Re: how to convert 8.3 path to longPath Date: Sat, 14 Oct 2006 21:51:38 -0500 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 24.94.228.231 Message-ID: <4531a237@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1160880695 24.94.228.231 (14 Oct 2006 19:51:35 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!open-news-network.org!news.isoc.lu!news.albasani.net!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail