Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Overview  





2 Syntax  





3 Examples  





4 See also  





5 References  





6 Further reading  





7 External links  














find (Windows)







Српски / srpski
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


find
Developer(s)Microsoft, IBM, DR, Datalight, Novell, Jim Hall, ReactOS Contributors
Initial releaseMarch 1983; 41 years ago (1983-03)
Written inMS-DOS: x86 assembly language
FreeDOS, ReactOS: C
Operating systemMS-DOS, PC DOS, FlexOS, SISNE plus, DR DOS, ROM-DOS, FreeDOS, 4690 OS, Windows, OS/2, eComStation, ArcaOS, ReactOS
PlatformCross-platform
TypeCommand
LicenseMS-DOS: MIT
FreeDOS, ReactOS: GPLv2+

Incomputing, find is a command in the command-line interpreters (shells) of a number of operating systems. It is used to search for a specific text string in a file or files. The command sends the specified lines to the standard output device.[1][2]

Overview

[edit]

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]OnMS-DOS, the command is available in versions 2 and later.[10] DR DOS 6.0[11] and Datalight ROM-DOS[12] 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]

Syntax

[edit]
FIND [/V] [/C] [/N] [/I] "string" [[drive:][path]filename[...]]

Arguments:

Flags:

Note: If a pathname is not specified, FIND searches the text typed at the prompt or piped from another command.

Examples

[edit]
C:\>find "keyword" < inputfilename > outputfilename
C:\>find /V "any string" FileName

See also

[edit]

References

[edit]
  1. ^ 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.
  • ^ 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.
  • ^ "Find - Search for text - Windows CMD - SS64.com". ss64.com.
  • ^ Jamsa, Kris A. (1993), DOS: The Complete Reference, Osborne McGraw-Hill, p. 206, ISBN 0078819040.
  • ^ "FlexOS User's Guide" (PDF). www.bitsavers.org. 1986. Archived from the original (PDF) on 2019-09-25. Retrieved 2020-09-14.
  • ^ "Users guide". archive.org. Retrieved 2020-09-14.
  • ^ "JaTomes Help - OS/2 Commands". Archived from the original on 2019-04-14. Retrieved 2019-07-20.
  • ^ "Find". Archived from the original on 2017-08-26. Retrieved 2017-08-26.
  • ^ "reactos/reactos". GitHub. 3 January 2022.
  • ^ Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
  • ^ DR DOS 6.0 User Guide Optimisation and Configuration Tips
  • ^ "Datalight ROM-DOS User's Guide" (PDF). www.datalight.com.
  • ^ "ibiblio.org FreeDOS Package -- find (FreeDOS Base)". www.ibiblio.org.
  • ^ "Equivalent of UNIX Grep command in Dos/Windows". January 26, 2009.
  • Further reading

    [edit]
    [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Find_(Windows)&oldid=1231136722"

    Categories: 
    Windows commands
    External DOS commands
    Microcomputer software
    Microsoft free software
    OS/2 commands
    ReactOS commands
    Pattern matching
    Windows administration
     



    This page was last edited on 26 June 2024, at 17:40 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki