Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!shelby!msi.umn.edu!cs.umn.edu!cybrspc!roy From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail) Newsgroups: comp.os.msdos.misc Subject: Re: how do you do this? Message-ID: <5yN0X2w163w@cybrspc> Date: 4 Mar 91 04:07:27 GMT References: <2851@krafla.rhi.hi.is> Organization: Villa CyberSpace, Minneapolis, MN Lines: 20 einari@rhi.hi.is (Einar Indridason) writes: > >>In article <1991Feb27.072015.7027@ucselx.sdsu.edu> butler@saturn.sdsu.edu ( > >>>Does anyone know how to do the following in a msdos environment? > >>>find . -name '*.bak' -exec rm {} ; > > (For plain vanilla DOS:) > > chkdsk /v | find ".BAK" > 'temp_file.bat' For 4dos (which should be on every DOS machine, IMHO :-), it's simply global del *.bak or you can use a genuine find, like that in PD1:UXUTL162.ZIP on Simtel. -- Roy M. Silvernail -- roy%cybrspc@cs.umn.edu - OR- cybrspc!roy@cs.umn.edu perl -e '$x = 1/20; print "Just my \$$x! (adjusted for inflation)\n"' [space reserved for clever quote]{mail your submissions}