Wildcards in the path name parameter

2005-05-26 Thread Coetzee, Evert
Hi I want to do a simple copy. I have W2K on my machine and the normal dos commany would have been: copy c:\sourcedir\*.txt c:\targetdir So I have an application that makes a call to the cp.exe cygwin file: cp c:\sourcedir\*.txt c:\targetdir I get the following error: cp: cannot stat `c:\sour

RE: Wildcards in the path name parameter

2005-05-26 Thread Coetzee, Evert
y 2005 11:42 To: cygwin@cygwin.com Subject: Re: Wildcards in the path name parameter On May 26 06:28, Coetzee, Evert wrote: > So my conclusion is that the * is not interpreted as a wildcard when it is > part fo a pathname. Wrong. Don't mix Win32 and POSIX paths. Use /cygdrive/c/sourced