Unix format Home Directory: /home/felipewd GetFullPathNameA returned: F:\home\felipewd GetLongPathNameA returned:
this should fix both cases, however, this may also step on Alexandre's toes, so he may not apply on the spot however, I assumed that, when supplied with a fully qualified unix pathname, - GetFullPathName will return the same unix path name - Get{Short|Long}PathName will return the corresponding windows path (because GetFullPathName only works on path syntax (ie adds current drive or directory when absent), but not on the path semantics (as Get{Short|Long}PathName check for the existence all path's elements) A+