Using GetCurrentDirectory() and SetCurrentDirectory() can't get Long pathname and Long filename,How to convert short name to long?
Printable View
Using GetCurrentDirectory() and SetCurrentDirectory() can't get Long pathname and Long filename,How to convert short name to long?
Try GetFullPathName which should return the full file name and path given the short name. Use PathFindFileName or _splitpath to get the file name.
Dave