Long name from DOS short name
Posted on 2002-05-16
Hi - Say that I have a CString that contains a valid file name, but it uses the short name like "C:\progra~1\my~1.txt"
How can I get a CString that looks like:
1 - "C:\Program Files\My File.txt"
and (not required, but would be nice)
2 - "\\mymachine\c\Program Files\My File.txt"
My main target is NT4.0.
Any help would be great.