findstr and full path
Posted: 10 Dec 2020 02:32
Hello, I have the following batch command:
I search in all files in this path for words that are in the hit.txt. It works great too, but the full path of the file
is not displayed. As soon as a hit is found i would like to have the complete path. Does somebody has any idea?
Thx
Betty
Code: Select all
findstr /D:%UserProfile%\AppData\local\test /s /i /m /o /OFFLINE /G:"Hit.txt" *.*
is not displayed. As soon as a hit is found i would like to have the complete path. Does somebody has any idea?
Thx
Betty