Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: cp doesnot copy in certain cases of slash (\) Date: Tue, 24 Aug 2004 00:33:47 +0530 Message-ID: <5C97FD5F888F6C41B267BBBCE94DC4E71EF44B@inhyms21.ca.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Koduru, Seshasai" To: X-OriginalArrivalTime: 23 Aug 2004 19:03:47.0413 (UTC) FILETIME=[EB257050:01C48943] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i7NJ3rLs001859 Hi, Following is the test case: ------------START------------- C:\>c:\cygwin\bin\mkdir.exe -p c:\src c:\dst C:\>c:\cygwin\bin\touch.exe c:\src\newfile C:\>c:\cygwin\bin\cp.exe c:\src\newfile c:\dst /usr/bin/cp: cannot create regular file `c:\\dst/c:\\src\\newfile': No such file or directory C:\>c:\cygwin\bin\cp.exe c:\src\newfile c:\dst\newfile C:\>c:\cygwin\bin\cp.exe c:\src/newfile c:\dst ------------END------------- In the first case of cp command it does not copy the file whereas in the next two cases it copies properly. I am "JAM" which produces statements like in case 1. So, is there any way in which cp will work for case 1 also? Thanks, Seshasai -- 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/