I'm trying to find files which contains a string
and print file names with and without extension.
Very important, files are located sub-folders
of main Folder
, I know only path of main Folder
.
This returns 'full path' and extension of files containing word string
:
findstr /s /m "string" c:main Folder\*.txt >list.txt
Desired output: only file name
Cheers, Andy