1.5.1: can't open files beginning with "..."

Chris Moore chris.moore@mail.com
Fri Oct 24 13:48:00 GMT 2003


I have a file on my PC called "...foo.txt".

cygwin has a problem with this file:

  $ ls -a
  .  ..  ...foo.txt  cygcheck.out
  $ ls -al > /dev/null
  ls: ...foo.txt: No such file or directory
  $ 

cygwin also has a problem making similarly named files:

  $ touch ...foo2.txt
  touch: creating `...foo2.txt': No such file or directory

Windows Explorer also doesn't like to make files whose names begin
with 3 dots, but Windows itself is fine with them.  The following
Perl one-liner makes the file if you run it in the (native Windows)
ActiveState Perl:

  open(FP, ">...foo3.txt") or die "$!";

But the cygwin perl complains:

  "No such file or directory at 3dots.pl line 1.".

I can also create these '3 dot' files in a native Win32 Emacs, but
not in the cygwin Emacs.  Even a Windows 'DOS prompt' (cmd.exe) is
able to make it:

  C:\>echo foo > ...foo3.txt
  C:\>

I'm not sure how to tell you what version of cygwin this is, but the
'DLL version' is 1.5.5 if that's what you need to know.

I've attached the output of "cygcheck -s -v -r".

Chris.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031024/0a3843ea/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list