in reply to Windows LFN to 8.3 trivia
I see that you are using Win32::GetShortPathName. There is a corresponding Win32::GetLongPathName, where you pass it a short name path and returns into a buffer a long name path. It states that it's present for all platforms, 95/98/NT/W2K.
Unless I misunderstand the goal (which could be entirely the case), could you not loop through the unpacked files in a directory, convert the name using GetLongPathName, then rename them to the resulting LFN?
I haven't tried this, but was basing this on my browsing of the MSDN.
--Chris
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Windows LFN to 8.3 trivia
by tye (Sage) on Mar 28, 2001 at 21:18 UTC | |
by mkmcconn (Chaplain) on Mar 28, 2001 at 22:32 UTC |