Reputation: 3374
Is there a windows API call or some way to translate the paths of the form
C:\Progra~1\Users\SomeU~2\
to
C:\Program Files\Users\SomeUser\
Upvotes: 5
Views: 1972
Reputation: 613013
You are looking for GetLongPathName().
GetLongPathName()
Upvotes: 9