Subject: Re: cygwin interaction with explorer
From: "Mark Hadfield" <[email-masked]>
To: "Cygwin Mailing List" <[email-masked]>
Date: Wed, 16 May 2001 17:40:23 +1200

From: "Christopher Faylor" <[email-masked]>
>
> What leads you to believe that this is a cygwin problem?  I can
> do a
>
> ls \\host\share

It's the quotation marks:

    C:\>set CYGWIN=
    C:\>ls \\thor\hadfieldnt
    DXclock    alphaev5-dec-osf4.0a  doc      install  man      share
    DXnotepad  bin                   etc      lib      scripts  tmp
    DXterm     dmf                   include  libexec  setvars
    C:\>ls "\\thor\hadfieldnt"
    ls: \thor\hadfieldnt: No such file or directory
    C:\>set CYGWIN=noglob
    C:\>ls \\thor\hadfieldnt
    DXclock    alphaev5-dec-osf4.0a  doc      install  man      share
    DXnotepad  bin                   etc      lib      scripts  tmp
    DXterm     dmf                   include  libexec  setvars
    C:\>ls "\\thor\hadfieldnt"
    DXclock    alphaev5-dec-osf4.0a  doc      install  man      share
    DXnotepad  bin                   etc      lib      scripts  tmp
    DXterm     dmf                   include  libexec  setvars

And of course if you want to set up a Windows association you need the
quotes around %1 to cope with spaces in the file & directory names.

---
Mark Hadfield
[email-masked]  http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple