🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

how to convert 8.3 path to longPath

#3117
From: Danny
Date: Sat, 14 Oct 2006 10:18
16 lines
1341 bytes
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: <4530b97b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c4fa279f259e22de,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Danny" <danny2912@libero.it>
From: "Danny" <danny2912@libero.it>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: how to convert 8.3 path to longPath
Date: Sat, 14 Oct 2006 12:18:37 +0200
Lines: 19
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; Original
NNTP-Posting-Host: 151.56.209.141
Message-ID: <4530b97b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1160821115 151.56.209.141 (14 Oct 2006 03:18:35 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail