In DOS and XP there is a FIND. Dunno unix, but it's tempting to speculate that they do similar tasks, albeit with their own flavor. In XP there is FINDSTR which is somewhat like unix grep.
If at first you don't succeed, you're about average.M2
dir [filename] /s [for all subfolders] Golly gee wilerkers everyone. Learn to Internet Search
What exactly do you wish to do? man find shows a lot of options, very little of which exists on dos.
Thanks wanderer. That's what I needed. Now all I have to do is find out how to put the ouput as input to a set command. Thanks again!
If this: dir [filename] /s [for all subfolders]
from wanderer is what you need, then you're finding files.
To get a set of commands to act on the list of files found, you need something like:
dir filename.ext /s/b>fileLIST
for /f "tokens=*" %%F in (fileLIST) do WHATEVER %%Fwhere WHATEVER is your command.
If at first you don't succeed, you're about average.M2
Thank you Mechanix2Go.
