Click to See Complete Forum and Search --> : Using GetCurrentDirectory() and SetCurrentDirectory() can't get Long pathname and Long filename,How


Peng Xi
March 29th, 1999, 12:07 AM
Using GetCurrentDirectory() and SetCurrentDirectory() can't get Long pathname and Long filename,How to convert short name to long?

Dave Lorde
March 29th, 1999, 08:53 AM
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