I was running the following command to echo pdf names starting with a number. But I get this error
| was unexpected this time
Code - FOR /f %a in ('dir /b|findstr "^[0-9][0-9]*.*\.pdf$"') DO echo %a
I think there is some problem with my cmd.
P.S. - I actually want to delete these files and will replace echo command with del afterwards