Re: Winepath on Mac

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tpatko wrote:
> 
> 
> The path that you find acceptable:
> 
> /Users/doh123/.wine/dosdevices/z:/Applications/Folder/File.txt 
> 
> is NOT acceptable when trying to pass this string as a file path parameter to a native Mac program (see above).


sure it works fine command line as a path.... if you escape the colon, or use single quotes... otherwise the colon will throw it off.

if your like getting that string, and pulling it into a string variable, you can do some simple string manipulation to add a \ in front of the :'s .. or just add single quotes tot he front and back, which would be easier, since you need to already quote it.

What are you actually doing though?  there might be a much better way to find the location you want and not use Winepath at all.






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux