RE: Wildcards in the path name parameter

2005-05-28 Thread Ross Boulet
On 26/05/05, Coetzee, Evert wrote: But I'm running it from the cmd.exe command prompt. I'm not in a shell. cp: cannot stat `/cygdrive/c/*.*': No such file or directory That is the error I get now. Do you have noglob in your CYGWIN environment variable?

Re: Wildcards in the path name parameter

2005-05-28 Thread Yitzchak Scott-Thoennes
On Sat, May 28, 2005 at 02:24:16PM -0500, Ross Boulet wrote: Just to experiment with globbing, I created a small c program to list the command line arguments. I read where the cygwin dll will do globbing for a program run from a windoze command prompt, so I compiled with -mno-cygwin. Much to

Re: Wildcards in the path name parameter

2005-05-26 Thread Corinna Vinschen
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/sourcedir/*.txt. No drive letters, no backslash. Corinna -- Corinna Vinschen

RE: Wildcards in the path name parameter

2005-05-26 Thread Coetzee, Evert
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/sourcedir/*.txt. No drive letters

Re: Wildcards in the path name parameter

2005-05-26 Thread Tony Richardson
@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/sourcedir/*.txt. No drive letters

Re: Wildcards in the path name parameter

2005-05-26 Thread Lev Bishop
On 26/05/05, Coetzee, Evert wrote: But I'm running it from the cmd.exe command prompt. I'm not in a shell. cp: cannot stat `/cygdrive/c/*.*': No such file or directory That is the error I get now. Do you have noglob in your CYGWIN environment variable? http://cygwin.com/problems.html Lev