5

Is it possible to get the Wine path to a file on the current OS?

Example:

wine-get-path ~/foo.txt # Outputs: Z:\\Users\Tyilo\foo.txt
wine-get-path ~/.wine/drive_c/windows/explorer.exe # Output: C:\\windows\\explorer.exe

where wine-get-path would be the function I need.

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Tyilo
  • 28,998
  • 40
  • 113
  • 198

1 Answers1

6

The answer is winepath -w foofile

Tyilo
  • 28,998
  • 40
  • 113
  • 198