Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watdcsu.UUCP Path: utzoo!watmath!watnot!watdcsu!broehl From: broehl@watdcsu.UUCP (Bernie Roehl) Newsgroups: net.micro.pc Subject: Re: SEARCH shell script for IBM-PC MS-DOS 3.1 Message-ID: <2062@watdcsu.UUCP> Date: Wed, 5-Feb-86 09:12:51 EST Article-I.D.: watdcsu.2062 Posted: Wed Feb 5 09:12:51 1986 Date-Received: Thu, 6-Feb-86 04:45:26 EST References: <698@tektools.UUCP> <419@ubvax.UUCP> Reply-To: broehl@watdcsu.UUCP (Bernie Roehl) Organization: U of Waterloo, Ontario Lines: 15 Keywords: IBM-PC Search Shell For a while now, I've been using a generalized version of this, which I call EX.BAT : for %%f in (%2) do %1 %3 %%f %4 %5 For example, ex grep bernie *.txt will grep for all occurrences of "bernie" in all .txt files in the current directory, while ex c88 \src\*.c will compile all .c files in \src.