http://bugs.winehq.org/show_bug.cgi?id=2085
Summary: winepath no longer works Product: Wine Version: 20040213 Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-programs AssignedTo: wine-bugs@winehq.org ReportedBy: bbuades@dgtic.caib.es
winepath was working in wine-20031212, but now it does not work with absolute unix paths.
It seems to be due to some changes in slash and back-slash processing in kernel32.dll. kernel32 now does not convert unix to dos path names, so winepath needs to implement it by itself.
If I run winepath -- -l path/to/file I get path\to\file (ok)
If I run winepath -- -l /home/user/path/to/file I get \home\user\path\to\file (wrong) when I should get f:\path\to\file