delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/09/17:49:43

To: djgpp AT delorie DOT com
Subject: Re: Search DOS hard drive question
Message-ID: <19970309.143603.4943.2.chambersb@juno.com>
References: <33203AEB DOT 647E AT mb DOT sympatico DOT ca>
From: chambersb AT juno DOT com (Benjamin D Chambers)
Date: Sun, 09 Mar 1997 17:32:25 EST

On Fri, 07 Mar 1997 09:57:31 -0600 Programming <sysdev AT mb DOT sympatico DOT ca>
writes:
>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
>
GREP has been ported to DOS.

...Chambers

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019