This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Wildcards in the path name parameter


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: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]