[Bug 9945] New: Add environment variable to allow launchers to change " working directory" for Windows applications

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 7 16:43:18 CDT 2007


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 at winehq.org
        ReportedBy: 07067514 at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list