Re: Help: How do I convert LFN to truncated 8.3?
- Posted by akusaya at gmx.net Jan 17, 2006
- 537 views
V> Does anyone here how to convert long file name paths to truncated V> DOS 8.3 names using Euphoria code? I want to supply a LFN string V> and use a function that would return the truncated 8.3 equivelent. V> Eg: V> Input = "C:\\Documents and Settings\\Vincent\\Foo.e" (LFN) V> Output = "C:\\DOCUME~1\\VINCENT\\FOO.E" (DOS 8.3) V> I dont wish to use a LFN library in this case for compatability reasons. V> Thanks in advance for any help. Use the kernel32 function: long GetShortPathNameA(string, string, long)