Question:

MS-DOS, How Do I Find This File...?

by  |  earlier

0 LIKES UnLike

Okay, well I was working on MS-DOS and, well, to put it simply I lost my file. It's hidden somewhere in one of my directories but I have NO idea where.

I do however know the contents of it... Is there a command that I can use to find this file? If there is, can someone please copy it down on here.

Any help would appreciated.

 Tags:

   Report

3 ANSWERS


  1. You should be able to use the "find" command. See http://www.computerhope.com/findhlp.htm for a list of possible options and examples.


  2. I grew up on a diet of MS-DOS. But it's clumsy when it comes to things like locating files. Find command is best, as poster one said.

    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.

  3. Take a look at this:

    http://www.computerhope.com/findstr.htm

    ****************8

    Geesh I'm brain dead today. Try something like this:

    dir c:\ /s /b | find "Google"

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions