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.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
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
> 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                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to