Hello, I have a folder with many files, about 250k, these files cannot be organized in subfolders because other systems need to be there.
I need to search for a string in the content of the files with today's modified date.
I don't know how to do it, can you help me?
Search for file content in a folder
Moderator: DosItHelp
Re: Search for file content in a folder
Code: Select all
for /f "delims=" %%i in ('forfiles /p "C:\your\folder" /d +0 /c "cmd /c if @isdir==FALSE findstr /mc:0x22your search string0x22 @path"') do echo "%%i"
Steffen