Mail Archives: djgpp/1997/03/07/15:58:46
From: | Programming <sysdev AT mb DOT sympatico DOT ca>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Search DOS hard drive question
|
Date: | Fri, 07 Mar 1997 09:57:31 -0600
|
Organization: | ADP Systems Partnership
|
Lines: | 26
|
Message-ID: | <33203AEB.647E@mb.sympatico.ca>
|
NNTP-Posting-Host: | as1b-p06.mts.net
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I know that what I want to do is possible in Unix,
but is it possible to do in DOS?
There are strings in text files on the
hard drive. I want to search the entire
hard drive for character strings.
The command:
DIR /S /E will give all files in the
current, and all subdirectories.
The FIND command will find all
character strings, in a file.
I want to search all files on the hard
drive for a specific character string;
in the root directory, and all subdirectories.
ALL files.
How do I pipe these commands (or other commands)
together in order to do this in DOS?
Thanks in Advance
- Raw text -