http://bugs.winehq.org/show_bug.cgi?id=19356 Summary: some features for winepath to make it better work in scripts Product: Wine Version: 1.0.1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: programs AssignedTo: wine-bugs(a)winehq.org ReportedBy: HoraK-FDF(a)gmx.de Hi, i'm currently working on a bash script that must handle DOS paths and so i found some things that would make winepath better for scripts. first thing: If u have the DOS path C:\nop and convert it to unix style u get /root/.wine/dosdevices/c:/nop but for some scripts you need the real mounted path that would be in my case /mnt/C/nop. To get this done with bash i must cut out the /root/.wine/dosdevices/c: make an REALPATH=$(df /root/.wine/dosdevices/c: | cut -d ' ' -f 25) (REALPATH is than /mnt/C) and combine it with the /nop that takes much time in bash if winepath can do this by it self that would be a giant speed up, bound this to an option like -r --realmountedpath or so would be great. secound thing: If a file lies on the dos dirve G:\file.nfo and the drive is assigned with winecfg to ../dosdevices/k: winepath outputs ../dosdevices/g:/file.nfo witch results to that the file cannot be found because its on ../dosdevices/k:/file.nfo. So you must have all drives exactly assigned like the would appear on real DOS (G:\ = ../dosdevices/g:). This can be avoided with checking the wine config, a option like -c --checkwinecfg would do it. ... greetings HoraK-FDF -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.