cygwin interaction with explorer

Mark Hadfield m.hadfield@niwa.cri.nz
Tue May 15 22:40:00 GMT 2001


From: "Christopher Faylor" <cgf@redhat.com>
>
> 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
m.hadfield@niwa.cri.nz  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



More information about the Cygwin mailing list