

By harnessing the built-in high-speed indexing system, Anytxt makes it easy to locate any files based on the file content, filename, file type, etc. With a powerful document parsing engine, Anytxt Searcher can extract any text of common documents without the need for additional software. It’s the best full-text search engine for desktop files. It works like the local disk version of the Google search engine.
#Cmd find file in subdirectories windows#
AnytxtĪnytxt Searcher is a free, powerful local document and text search tool for Windows that is much faster than the built-in Windows Search. It comes with a concise interface and multiple features. If you don’t know anything about regular expressions and wildcards, I would suggest you try a third-party program Anytxt. You can also use regular expressions and wildcards to match all kinds of situations. /P - skip files with non-printable charactersįindstr is quite powerful in terms of searching the content of files because you can search and filter results with the above parameters./B - matches patterns at the beginning of lines./R - use search strings as regular expressions./S - searches the directory and all subdirectories.Search for the occurrence of all words ending with ‘xyz’ in every txt file under D:/Documents/ including all subdirectories. Searches any file under d:\documents for the string “windows”. Searches the document windows.txt under D:/Documents/ folder for the string “Windows 10” findstr /c:/documents/ “windows 10” windows.txt Refer to the syntax to type your command to start the search. In the listed results, right-click on Command Prompt and select “Run as an Administrator”. You can type “CMD” in the windows search bar and press Enter. You can refer to the steps below to see how it works. To learn all the parameters, you can simply run the “findstr /?” command from an elevated command prompt. You can search individual files or the entire directory with your search query.
#Cmd find file in subdirectories windows 10#
String Search text in files Windows 10 command lineįindstr is a built-in feature in Windows 10 that allows you to locate a file with specific text. If you want to locate your files faster, keep reading to find better alternatives. Now, you are trying to search index properties and file contents, it is going to be even slower. Most users, if not all, will think the File Explorer search is slow even with index properties only. The results will include both the content of files and the files name that contain the text that you searched. Type the text in the search box you want to search the content of the available files. You will see a search box in the right top corner. If you have no idea, just click This PC, which will take longer. Navigate to the directory where you want to start the search. Once complete, you can now locate files through content. Check the option Indexed Properties and File contents option and click OK to confirm.Īfter your confirmation, Windows will start to rebuild indexing. If the file extension that you want to search the content of is not listed here, you can add a new extension to the list at the bottom.

You can see all the extensions are selected by default. Under Advanced Options, click on the File types tab. From the Indexing Options window, click Advanced at the bottom. Type “Indexing options” in the Windows Search Bar and select Indexing Options from the results. To enable searching content of files in Windows 10: So, in order to use this feature, you need to enable this feature. If you are unable to do so, then it is because that feature is turned off by default.
