RE: cp doesnot copy in certain cases of slash (\)

2004-08-25 Thread Dave Korn
> Koduru, Seshasai wrote: > > >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 fil

Re: cp doesnot copy in certain cases of slash (\)

2004-08-23 Thread Ken Dibble
Given that you are using cygwin binaries which assume a POSIX environment in a DOS environment, I am surprised that it ever works. Koduru, Seshasai wrote: 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

cp doesnot copy in certain cases of slash (\)

2004-08-23 Thread Koduru, Seshasai
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:\