Quantcast
Channel: Convert file path from Linux to Windows format for Wine tool - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by JdeBP for Convert file path from Linux to Windows format for Wine tool

Your script is actually very close. All that you need is the winepath tool, that comes as part of WINE, to do the conversion: #!/bin/sh exec wine /utils/wincmp.exe "`winepath --windows \"$1\"`"...

View Article


Answer by cas for Convert file path from Linux to Windows format for Wine tool

Always double-quote your variables so that you don't need to care about spaces or shell meta-characters. you can use sed or tr to convert /s to \. e.g. sed 's:/:\\:g' or tr '/' '\\' (note: because \...

View Article


Convert file path from Linux to Windows format for Wine tool

I have a Windows diff tool that's simply better than any Linux diff tool I've found (and I've done some pretty extensive analysis on visual diff tools). I want to use that tool on Linux (via Wine) and...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>