[Bug 10719] Default Directory should be the directory witch the exe was excuted

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 15 09:50:39 CST 2007


http://bugs.winehq.org/show_bug.cgi?id=10719





--- Comment #12 from yellow_onion at orcon.net.nz  2007-12-15 09:50:39 ---
#! /bin/sh
# Launch Wine app in its own directory
# switches are not passed as of yet
#
path="`expr "$@" : '\(.*\)/'`"
basename="`expr "//$@" : '.*/\([^/]*\)'`"
cd "$path"
wine $basename


-- 
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