http://bugs.winehq.org/show_bug.cgi?id=9945
Summary: Add environment variable to allow launchers to change "working directory" for Windows applications Product: Wine Version: 0.9.46. Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: 07067514@brookes.ac.uk
A small number of programs make use of the "working directory" to find files (example: MAME32++ uses it to find its configuration files) and WINE offers no convenient way of changing this short of writing a script to move to the folder with cd and launch the application, which is unpleasant and frankly unnecessary.
I suggest a new environment variable, WINEWORKINGDIR, which stores this "working directory" value (the default is the current working directory of the terminal when WINE is run). This would allow launchers for WINE (e.g. in the main menu) to change this, avoiding the need for cumbersome scripts.
http://bugs.winehq.org/show_bug.cgi?id=9945
Thomas Winwood 07067514@brookes.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |07067514@brookes.ac.uk
http://bugs.winehq.org/show_bug.cgi?id=9945
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-10-07 16:54:24 --- No this is not the way things work on windows. If that program reads it's configuration from the current directory, then that's exactly what it will do on windows. This is application's bug not Wine's problem
http://bugs.winehq.org/show_bug.cgi?id=9945
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2007-10-07 16:54:34 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=9945
--- Comment #3 from Jan Zerebecki jan.wine@zerebecki.de 2007-10-07 19:32:49 --- Anyway shortcuts / desktop icons (= .desktop files, which get created based on .lnk files by wine ) already support a working directory option.
http://bugs.winehq.org/show_bug.cgi?id=9945
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|_obsolete_binary |-unknown