Seems like I can use the FOR
command recursively to search for wildcards such as
FOR /R %F IN (*.ASM) DO @ECHO %F
This successfully prints out all files with the .ASM extension that exist somewhere within the current directory tree
However, if I'm searching for a specific filename, this doesn't work at all:
FOR /R %F IN (LECTURE3_CODE.ASM) DO @ECHO %F
The output of the latter command seems to print out <path>\LECTURE3_CODE.ASM
once for every single file that exists in the working directory tree.
Is there some way to get this command to work the way I want it to?