Use GetFullPathName to convert unix path names to DOS ones.

oldstable
Mike McCormack 2004-02-10 20:07:43 +00:00 committed by Alexandre Julliard
parent e9b36904df
commit 95b0fc6f08
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ int main(int argc, char *argv[])
{
*path='\0';
if (outputformats & LONGFORMAT) {
GetLongPathNameA(argv[i], path, sizeof(path));
GetFullPathNameA(argv[i], sizeof(path), path, NULL);
printf("%s\n", path);
}
if (outputformats & SHORTFORMAT) {