Windows search function
Results 1 to 5 of 5

Thread: Windows search function

  1. #1
    Member
    Join Date
    Aug 2002
    Posts
    51

    Windows search function

    Does anyone kno how to use or access the search function of windows through DOS

  2. #2
    I'd rather be fishing DjM's Avatar
    Join Date
    Aug 2001
    Location
    The Great White North
    Posts
    1,867
    Have you tried the 'find' comand?

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

    /V Displays all lines NOT containing the specified string.
    /C Displays only the count of lines containing the string.
    /N Displays line numbers with the displayed lines.
    /I Ignores the case of characters when searching for the string.
    "string" Specifies the text string to find.
    [drive:][path]filename
    Specifies a file or files to search.

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

  3. #3
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,786
    dir /s <file name>

    not exactly windows but it will search the dir you in and all subdirectories for the file. if done from c:\ it will search the entire drive
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

  4. #4
    Member
    Join Date
    Aug 2002
    Posts
    51
    what do u mean by string?

  5. #5
    Elite Hacker
    Join Date
    Mar 2003
    Posts
    1,407
    "string" would be a word or group of words you want to find within the file you are searching for such as "hello".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •