FIND command
- Sean O'Shea
- Aug 5, 2016
- 1 min read
In order to run a search for file names containing a specified string enter this script at the command prompt:
dir c:\ /s /b | find "whale"
. . . if you want to search for a string in a specified file and determine the line numbers on which the string appears, run:
find /n "whale" melville.txt
. . . in this example:

. . . you will get the result: [5]a big whale
Recent Posts
See AllWhen using robocopy command in Windows to copy files, note that if you are an admin you can use the /B switch to copy files from...