This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C$ share and filename completion


Hi,

I have the two files "myfile1.txt" and "myfile2.txt" on
drive C of the server "myserver". I am using bash and
want to edit one of the files via the C$ share.

First I type
$ vi //myserver/c$/myf<TAB>

This gets expanded to
$ vi //myserver/c\$/myfile

After I add the "1" for file one like this
$ vi //myserver/c\$/myfile1<TAB>
I receive the following warning:

cygwin warning:
  MS-DOS style path detected: //myserver/c\$/
  Preferred POSIX equivalent is: //myserver/c/$/
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames

So cygwin thinks that I am using a non-POSIX path. The
suggested path //myserver/c/$/ is definitely wrong.

I am using the following versions:

$ cygcheck -c cygwin bash bash-completion
Cygwin Package Information
Package              Version        Status
bash                 4.1.10-4       OK
bash-completion      1.3-1          OK
cygwin               1.7.9-1        OK

Many thanks,
Rene



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]