I am trying to use vim internal grep with a wildcard '**', as in the following command:
grep "test" **\*.txt
vim gives the following error:
FINDSTR: Cannot open **\*.txt
When I delete the template '**', the command works correctly:
grep "test" *.txt
I changed the backslash to forward slashes, but that didn't help anything:
grep "test" **\*.txt
This again leads to the above error.
What could be the reason?
Note. I am using GVim 7.2 in Microsoft Windows XP.
source
share