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. > Muc

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? > http://cygw

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

Re: Wildcards in the path name parameter

2005-05-26 Thread Tony Richardson
alf > Of Corinna Vinschen > Sent: 26 May 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 >> pa

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

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 Plea

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