Windows short path format to long path format

c, c++, path, windows

Solution

You are looking for `GetLongPathName()`.

Problem

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\ ```

Original source