This is the mail archive of the cygwin@cygwin.com 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]

Re: Problem with cp to a directory


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@cygwin.com 
> [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Christopher Faylor
> Sent: Friday, November 08, 2002 1:20 AM
> To: cygwin@cygwin.com
> Subject: Re: Problem with cp to a directory
> 
> 
> On Thu, Nov 07, 2002 at 10:36:57PM +0000, 
> peter.coppens2@pandora.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/


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