Path translation

Questions about Wine on Linux
Locked
Mophus
Newbie
Newbie
Posts: 2
Joined: Fri Jan 09, 2015 3:40 am

Path translation

Post by Mophus »

What's the easiest way to translate a Linux path into a path which can be passed as a param to a Windows program?

Example: /home/mophus/music -> \\?\unix\home\mophus\music
spokeman
Newbie
Newbie
Posts: 4
Joined: Wed Jan 14, 2015 5:20 pm

Re: Path translation

Post by spokeman »

Pretty sure the way to do it is map the location to a wine "drive". Or - at least - ONE way to make it work is to map a drive.

After that, (for the wine app) I'm pretty sure you use standard Win \ for diving further into subdirs. You might have to escape some characters to get things to work - especially spaces.
Locked