Hello,
I am running Wine 4 on Ubuntu 18. I use a specific Windows tool that processes files passed as options, and produces result files. This tool works well under Wine. To use it from the Linux tree I need to transform the names of the files from Linux to Windows and vice versa. I am using the winepath command under Linux.
I may have missed something but I can not get winepath to return the real name of the linux file:
============
> winepath -w /tmp
Z:\tmp
> winepath -u z:\\tmp
/home/user/.wine/dosdevices/z:/tmp
============
I can call realpath on the path returned by winepath, but I was wondering if there was another solution:
============
> realpath /home/user/.wine/dosdevices/z:/tmp
/tmp
============
Winepetah usage to get linux file names
- DarkShadow44
- Level 8
- Posts: 1207
- Joined: Tue Nov 22, 2016 5:39 pm
Re: Winepetah usage to get linux file names
Don't think winepath offers this functionality. Why do you need that?