🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3123

Re: how to convert 8.3 path to longPath

#3123
From: 4N
Date: Sat, 14 Oct 2006 18:28
26 lines
1658 bytes
what about writing it yourself through the usage of 
findfirst-findnext-findclose?
anyway if you want you can take a look at the code of GetFullPath which is 
fully written down in one of the headers of builder and modify it

"Danny" <danny2912@libero.it> ha scritto nel messaggio 
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.
>
> Thanks in advance.
> Bye
>
>
> 
Technical Details
Message-ID: <4531e752@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <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: "4N" <xxxx@yyyy.zzz>
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 20:28:47 +0200
Lines: 28
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; Response
NNTP-Posting-Host: 87.17.99.109
Message-ID: <4531e752@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160898386 87.17.99.109 (15 Oct 2006 00:46:26 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail