[Bug 1330] New: - command line path not translated to DOS format

wine-bugs at winehq.com wine-bugs at winehq.com
Tue Mar 18 16:09:31 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1330

           Summary: command line path not translated to DOS format
           Product: Wine
           Version: 20020310
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: wine-dos
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: befletch at yahoo.com


Running a DOS program from the command line, i.e.:

  wine -- ../prog.exe arg1 arg2

it would be helpful if the path to the executable
(../prog.exe) was converted to DOS form (..\prog.exe)
when it was passed in to the program as argv[0].

Having this path in UNIX form confused a program
that was trying to find the path to its home dir.
The work-around was easy, (specify a DOS path) but
other WINE users may get bit by this as well.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list