The find command is a filter to find lines in the input data stream that contain or don't contain a specified string and send these to the output data stream. It does not support wildcard characters.3
The command is available in DOS,4 Digital Research FlexOS,5 IBM/Toshiba 4690 OS,6 IBM OS/2,7 Microsoft Windows,8 and ReactOS.9 On MS-DOS, the command is available in versions 2 and later.10 DR DOS 6.011 and Datalight ROM-DOS12 include an implementation of the find command. The FreeDOS version was developed by Jim Hall and is licensed under the GPL.13
The Unix command find performs an entirely different function, analogous to forfiles on Windows. The rough equivalent to the Windows find is the Unix grep.14
Arguments:
Flags:
Note: If a pathname is not specified, FIND searches the text typed at the prompt or piped from another command.
Paterson, Tim (2013-12-19) [1983]. "Microsoft DOS V1.1 and V2.0: /msdos/v20source/FIND.ASM". Computer History Museum, Microsoft. Retrieved 2015-10-01. /wiki/Tim_Paterson ↩
Shustek, Len (2014-03-24). "Microsoft MS-DOS early source code". Software Gems: The Computer History Museum Historical Source Code Series. Retrieved 2015-10-01. http://www.computerhistory.org/atchm/microsoft-ms-dos-early-source-code/ ↩
"Find - Search for text - Windows CMD - SS64.com". ss64.com. https://ss64.com/nt/find.html ↩
Jamsa, Kris A. (1993), DOS: The Complete Reference, Osborne McGraw-Hill, p. 206, ISBN 0078819040. 0078819040 ↩
"FlexOS User's Guide" (PDF). www.bitsavers.org. 1986. Archived from the original (PDF) on 2019-09-25. Retrieved 2020-09-14. https://web.archive.org/web/20190925131719/http://bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf ↩
"Users guide". archive.org. Retrieved 2020-09-14. https://archive.org/details/4690OSV6r2UsersGuide/page/n169 ↩
"JaTomes Help - OS/2 Commands". Archived from the original on 2019-04-14. Retrieved 2019-07-20. https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#FIND ↩
"Find". Archived from the original on 2017-08-26. Retrieved 2017-08-26. https://web.archive.org/web/20170826163346/https://technet.microsoft.com/en-us/library/bb490906.aspx ↩
"reactos/reactos". GitHub. 3 January 2022. https://github.com/reactos/reactos ↩
Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7. 0-7356-1812-7 ↩
DR DOS 6.0 User Guide Optimisation and Configuration Tips https://www.4corn.co.uk/archive/docs/DR%20DOS%206.0%20User%20Guide-opt.pdf ↩
"Datalight ROM-DOS User's Guide" (PDF). www.datalight.com. https://www.datalight.com/assets/files/ROM-DOS_Users_Guide.pdf ↩
"ibiblio.org FreeDOS Package -- find (FreeDOS Base)". www.ibiblio.org. http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/find.html ↩
"Equivalent of UNIX Grep command in Dos/Windows". January 26, 2009. https://www.tipsandtricks-hq.com/equivalent-of-unix-grep-command-in-doswindows-726 ↩