Path: utzoo!utgpu!watserv1!watmath!att!mcdchg!laidbak!obdient!vpnet!cak From: cak@vpnet.chi.il.us (Cindi Knox) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: DOS Batch Programming Keywords: DOS Batch DELETE Message-ID: <2686c84a-d6.6comp.sys.ibm.pc.programmer-1@vpnet.chi.il.us> Date: 26 Jun 90 05:55:04 GMT References: <1990Jun24.043414.24256@caen.engin.umich.edu> <32382@ut-emx.UUCP> Lines: 22 OK, now that the obvious suggestions are taken care of, here's one that's a little less efficient but more selective. outside batch: for %a in (*.*) do del %a inside batch: for %%a in (*.*) do del %%a (%)%a can be replace with a different %% variable if you like. in (*.*) can be replaced with a list like: for %%a in (*.$$$ *.BAK *.JNK JUNK*.*) do del %%a You can do some great things with this. I doubt any of these opinions are those of my employer. I don't agree with ANYTHING they say. Cindi Knox | You've got a lot of living to do without life. | cak@vpnet.chi.il.us | ``Little Miss S.'' by Edie Brickell and New Bohemians.