[Bug 1330] argv[0] should be translated into DOS syntax

Wine Bugs wine-bugs at winehq.com
Sun Jun 22 08:35:06 CDT 2003


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





------- Additional Comments From fsteinel at flonet.net  2003-22-06 08:35 -------
Bug comments restored from Gmane.org: 

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.

------- Additional Comments From mike <at> theoretic.com  2003-03-30 15:15 -------
Confirming bug, changing summary

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list