Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有 Windows API 调用或某种方式来转换表单的路径
C:\Progra~1\Users\SomeU~2\
到
C:\Program Files\Users\SomeUser\
您正在寻找GetLongPathName().
GetLongPathName()