delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/08/02:12:29

Message-Id: <200211080712.gA87CSn14833@delorie.com>
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
From: "peter DOT coppens2 AT pandora DOT be" <peter DOT coppens2 AT pandora DOT be>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with cp to a directory
Date: Fri 08 Nov 2002 08:12:04 +0100
X-GENERATED-BY: Telenet WebMail for user a044139
X-COMPLAINTS-TO: abuse AT pandora DOT be

Thanks for the clarification. I guess I got confused by the user doc (http://cygwin.com/cygwin-ug-net/using.html#USING-PATHNAMES) which states

Cygwin supports both Win32- and POSIX-style paths, where directory delimiters may be either forward or back slashes. UNC pathnames (starting with two slashes and a network name) are also supported.

Peter

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com]On Behalf
> Of Christopher Faylor
> Sent: Friday, November 08, 2002 1:20 AM
> To: cygwin AT cygwin DOT com
> Subject: Re: Problem with cp to a directory
> 
> 
> On Thu, Nov 07, 2002 at 10:36:57PM +0000, 
> peter DOT coppens2 AT pandora DOT be wrote:
> >Hello,
> >
> >While attempting to port a number of scripts from MKS to the 
> latest cygwin download, something like 
> >
> >cp c:\\temp\\tmt.c tcp 
> >
> >is executed (tcp is a directory). 
> >
> >This returns 
> >
> >cp: cannot create regular file `tcp/c:\\temp\\tmt.c': No 
> such file or directory 
> >
> >When using a target file or Unix style paths, it all works fine. 
> >
> >Is this a known issue or intended behavior? Thanks for any 
> suggestions. 
> 
> It's not a problem.  It's a feature.  This is Cygwin.  Cygwin 
> uses UNIX
> style paths.  Use UNIX style paths if you want to use UNIX tools:
> 
> cp /cygdrive/c/temp/tmt.c tcp
> 
> cgf
> --
> Please do not send me personal email with cygwin questions or 
> observations.
> Use the resources at http://cygwin.com/ .
> 
> --
> 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/
> 
> 




--
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