1

I need to find certain files at a SMB share containing a specific text string.

How it could be done with the search function in Windows 10?

I would not prefer the idea of indexing the files as there are a lot of them.

Example:

Search \SHARE\ for *.xml containing "Keyword"

1 Answer 1

1
findstr /m "Keyword" \SHARE\*.xml 

Keep the quotes. If you want multiple words in the same document, separate them with a space inside the quotes. You would do this from the command prompt. Most likely you would put \\SHARE\C$\Users\Admin\Documents\*.xml or something like that.

If the share requires a username and password, make sure you open it in Explorer first and enter that info.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .