Re: How do I do this?

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

 



"Gert van den Berg" <wine-users@xxxxxxxxx> writes in gmane.comp.emulators.wine.user:

> On Thu, Jul 24, 2008 at 4:38 AM, jnewl <wineforum-user@xxxxxxxxxx> 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@Hurtta06k:~$ ls -d "~"
ls: ~: No such file or directory
hurtta@Hurtta06k:~$ ls -d ~
/home/hurtta
hurtta@Hurtta06k:~$               

/ Kari Hurtta



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

  Powered by Linux