www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/03/11:44:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <028301c222a8$e04280a0$cd8a9dc0@uk.aonix.com>
From: "Cliff Hones" <cliff AT aonix DOT co DOT uk>
To: "Tony Arnold" <tony DOT arnold AT man DOT ac DOT uk>, <cygwin AT cygwin DOT com>
References: <31CB870AD5AA384BB5419025DD9F7A841042ED AT dailymail DOT cfs DOT ac DOT uk>
Subject: Re: maildir file names illegal on cygwin?
Date: Wed, 3 Jul 2002 16:47:01 +0100
Organization: Aonix Europe Ltd.
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

> > Are colons ':' illegal in cygwin file names? Every filename I 
> > try to touch with a colon in it, backslashed or not, returns 
> > this message:
> 
> Remember the underlying file system is a Windows one (FAT or NTFS) and
> that uses : to separate drive letter from file name, so I suspect it is
> not allowed in Windows file names.

On NTFS a file can contain multiple data streams.  The syntax for
a secondary stream is <filename>:<streamname>.  However, not all
windows apps understand the syntax.

For example, try the following in a DOS or CMD box:

  copy <some-text-file>  example
  type <another-text-file>  > example:subfile
  more < example
  more < example:subfile

[The syntax is understood by CMD file redirection, but not by COPY.]

See:

  http://support.microsoft.com/default.aspx?scid=kb;en-us;Q105763

-- Cliff





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019