[Wine] WINE fails in directories with Question Marks in name

Martin Gregorie martin at gregorie.org
Mon Sep 12 16:22:39 CDT 2011


On Mon, 2011-09-12 at 14:32 -0500, stvs wrote:
> Is there a way to tell WINE that question marks in directory names are
> okay? 
>
More specifically, you can easily create a file containing a question
mark, e.g. "doc?.txt", and you can then create a file called "doca.txt".
No problem. However, if you try to reference an existing file and there
is more than one file whose names are identical except where the
question mark occurs the open will fail because the string you gave it
matches more than one file and so the shell doesn't know which file to
select. You can escape a character to remove its special properties or
enclose the string containing it in single quotes. The common characters
that this applies to are:

?     - the shell treats this as a single character wild card
*     - treated as a wild card matching zero or more characters
space - the shell uses space as an argument delimiter. Actually, it
        treats whitespace (space, tab and newline) as argument
        delimiters.

Similar rules apply to using semicolons, single and double quotes and
ampersands in file names.

Martin



> Code:
> Sun Sep  4 23:00:24 2011 - Changing directory to /Volumes/Macintosh HD2/Documents/EyeTV Archive/Curiosity_ Is There a Parallel Universe?.eyetvsched
> Sun Sep  4 23:00:24 2011 - Running: /usr/bin/nice -n 14 "/opt/local/bin/wine" "/Library/Application Support/ETVComskip/comskip/comskip.exe" --ini="/Library/Application Support/ETVComskip/comskip/comskip.ini" "00000000141472b8.mpg" > /Users/name/Library/Logs/ETVComskip/336884408_comskip.log 2>&1
> Sun Sep  4 23:02:11 2011 - Return code is: 768, 0x300
> Sun Sep  4 23:02:11 2011 - Error code is: 3, 0x3
> 
> 
> 
> 
> WINE's output log:
> 
> 
> Code:
> Warning: could not find DOS drive for current working directory '/Volumes/Macintosh HD2/Documents/EyeTV Archive/Curiosity_ Is There a Parallel Universe?.eyetvsched', starting in the Windows directory.
> The commandline used was:
> "Z:\Library\Application Support\ETVComskip\comskip\comskip.exe" "--ini=/Library/Application Support/ETVComskip/comskip/comskip.ini" 00000000141472b8.mpg
> 
> Opening 00000000141472b8.mpg
> Comskip 0.80.042, made using:
> mpeg2dec-0.4.0 - by Michel Lespinasse <walken at zoy.org> and Aaron Holtzman
> No such file or directory - could not open file 00000000141472b8.mpg
> 
> 
> 
> 
> 
> 





More information about the wine-users mailing list