dir/b/s %1|find "%2"
save with a file name google.bat.
open the cmd.exe and type
google c: .bat
to search all files in c:\ with *.bat extension.
save with a file name google.bat.
open the cmd.exe and type
google c: .bat
to search all files in c:\ with *.bat extension.