[Wine] How do I do this?

Kari Hurtta hurtta+gmane at siilo.fmi.fi
Thu Jul 24 00:49:36 CDT 2008


"Gert van den Berg" <wine-users at mohag.net> writes in gmane.comp.emulators.wine.user:

> On Thu, Jul 24, 2008 at 4:38 AM, jnewl <wineforum-user at winehq.org> wrote:
> > Ah, thank you. So are you saying that the command I typed should work as long as I use quotes or double slashes?
> >
> > I just tried
> >
> > $ wine "home\[restofpathname]\mod.exe" r64.dll
> >
> > and it still says it can't find mod.exe. What am I doing wrong?
> You need to use single quotes if you want the shell to ignore escape
> sequences (starting with '\')
> 
> http://learnlinux.tsf.org.za/courses/build/shell-scripting/shell-scripting-all.html#SS_quotes
> 
> 
> > I also tried using the double slashes, but it doesn't recognize two word directory names ("Program Files") using that method. I'm not sure what I'm supposed to do in that case. Like I said, I'm a complete noob to Linux.
> >
> You can use double / single quotes around the space or escape the space:
> e.g. cat "~/some folder with spaces/file.txt" or
> cat ~/some\ folder\ with\ spaces/file.txt or
> cat ~/some" "folder" "with" "spaces/file.txt

No. You can not put ~  inside of quotes -- it is expanded by shell:

hurtta at Hurtta06k:~$ ls -d "~"
ls: ~: No such file or directory
hurtta at Hurtta06k:~$ ls -d ~
/home/hurtta
hurtta at Hurtta06k:~$               

/ Kari Hurtta




More information about the wine-users mailing list