Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!metro!ipso!runxtsa!timm From: timm@runx.oz.au (Tim Menzies) Newsgroups: comp.os.msdos.misc Subject: Re: How do I remove lots of directories Message-ID: <1991Jan28.212052.10021@runx.oz.au> Date: 28 Jan 91 21:20:52 GMT References: <1991Jan24.155305.12156@phri.nyu.edu> Organization: RUNX Un*x Timeshare. Sydney, Australia. Lines: 20 In article <1991Jan24.155305.12156@phri.nyu.edu> roy@alanine.phri.nyu.edu (Roy Smith) writes: > > I'm sure this is a trivial question, but a scientist here has a >PS/2 hooked up to some sort of lab instrument. The instrument control >program creates, for each run, a directory called .smp >and puts 4 files in it. Naturally, after several hundred runs, his disk is >starting to get full and he wants to remove all of the old data. Also, >naturally, he asked me how to do it, but being basically a Unix type I >couldn't figure out what to do. Can somebody please tell me the DOS >equivelant of Unix's "rm -r *.smp"? No. This i not a trivial question. There ain't one. Look for tools that support it. E.g. Xtree. Note: there is a rm -r function in the MKS toolkit. If you a re a unix hacker forced into the DOS world, get MKS. It has many of the standard UNIX utilities ported to DOS including sed, vi, sh, and... rm. _--_|\ Tim Menzies (timm@runxtsa.oz) "REWARD OFFERED for information / \ HiSoft Expert Systems Group, leading to the return of one \_.--._/ 2-6 Orion Rd, Lane Cove, NSW, 2066 island state called 'Tasmania'. 61 2 9297729(voice),61 2 4280200(fax)