This is the mail archive of the
mailing list for the Cygwin project.
Re: Using grep from within a .cmd or .bat file in Windows
Keith Moore wrote:
inside a file called grep.cmd,
"grep.cmd" is getting executed recursively. You
need to name your .cmd file something other than
Or invoke "grep.exe --help". Or if you want to experiment, specify the exact path to grep. Or
if you love to experiment, make sure grep.cmd is not in the current directory and not in any
PATH entry, so that you have to invoke it with an explicit path.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html