Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Wine path of file

Tags:

filepath

wine

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.

like image 984
Tyilo Avatar asked Aug 26 '11 11:08

Tyilo


1 Answers

The answer is winepath -w foofile

like image 193
Tyilo Avatar answered Oct 13 '22 23:10

Tyilo