I'm new to batch scripting and trying to find a way to iterate through all files in a folder and print the names of all files who start with Test_ and end with .py (i.e python files)
I'm stuck here:
@echo off
for /r %%f in (*) do (
echo %%f | findstr /r "^Test_[.]*\.py$"
)
pause
But this doesn't echo anything to screen. Can you help?
Thanks,
Noam