Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!isgate!krafla!einari From: einari@rhi.hi.is (Einar Indridason) Newsgroups: comp.os.msdos.misc Subject: Re: how do you do this? Message-ID: <2851@krafla.rhi.hi.is> Date: 1 Mar 91 00:12:11 GMT References: <1991Feb27.072015.7027@ucselx.sdsu.edu> <1991Feb27.154923.28267@ux1.cso.uiuc.edu> Reply-To: einari@rhi.hi.is (Einar Indridason) Organization: University of Iceland (RHI) Lines: 23 In article valley@uchicago (Doug Dougherty) writes: >>In article <1991Feb27.072015.7027@ucselx.sdsu.edu> butler@saturn.sdsu.edu (Michael Butler) writes: >>>Hi there folks; >>> >>>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' edit that 'temp_file.bat' and add in front of every line the magic word 'del ' run that file. You got it. -- Internet: einari@rhi.hi.is | "Just give me my command line and drag UUCP: ..!mcsun!isgate!rhi!einari | the GUIs to the waste basket!!!!" Surgeon Generals warning: Masking the 8th bit can seriously damage your brain!!