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
> 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
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
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
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
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
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
7 matches
Mail list logo