>Is there a method of converting short filenames, as returned to DOS programs by W9x back to the original long filename.
>
>I need to do a search on a set of textfiles, using an old DOS program, which returns a list of filenames matching a particular set of criteria & then match these short filenames to the full length filename stored as a field in a database table.
>
>I guess there should be a function or API call, but I cant find it in the documentation.
>
>TIA
Hi Paul,
Look at my Windows Filenames program in the download section (under Win32 and other APIs). It'll return the file names (long and short), plus other information. You can pass it either the short or long name.
hth,
George
Ubi caritas et amor, deus ibi est