Re: Fun Wine Project -- Configure Some Default Registry Entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You are completely correct.  How about something like this?  Just right click >> open with >> winestart. (attached)

-Tres


#!/bin/bash
#
# /usr/bin/winestart
#
# Appends "Z:" to native linux paths, such as /home/jsmit/Desktop/test.txt
# so that wine can launch "Z:/home/jsmit/Desktop/test.xt" with its native
# program.
#
wine start "Z:$@";


On Thu, Jan 31, 2008 at 10:43 AM, Ove Kaaven <ovek@xxxxxxxxxxxx> wrote:
A. Tres Finocchiaro skrev:
> As far as going in the other direction, simply using "wine start
> /path/to/file" in theory would launch wine's default app for that
> association.  Should be a one-liner.

 From what I know, that won't work because Wine's start.exe (like
Windows's) interprets a leading slash as an option, not as a path.
(Debian bug #420207 told me. So I suggested "wine start `winepath -w
/path/to/file`" instead...)





--
- Tres.Finocchiaro@xxxxxxxxx

Attachment: winestart
Description: Binary data

Attachment: Screenshot.png
Description: PNG image

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux