home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.misc
- Path: sparky!uunet!drivax!frotz
- From: frotz@dri.com (Frotz)
- Subject: Re: recursively delete subdirs?
- Message-ID: <7NGNBHA6@dri.com>
- Summary: DRDOS 6.0 has a solution...
- Sender: frotz@novell.com
- Reply-To: frotz@novell.com
- Organization: Desktop Systems Group/Novell, Monterey CA/USA
- References: <1992Jul21.183227.29105@leland.Stanford.EDU>
- Date: Fri, 31 Jul 92 00:57:45 GMT
- Lines: 22
-
- joelfire@leland.Stanford.EDU ( Firehammer) writes:
-
- ]Hi. does anyone know of a method to recursively delete all subdirectories
- ]lower than your current directory, including their files? I've writing a
- ]little batch file that uses Lharc to archive seldom used directories, and
- ]need a way to remove the subdirectories within the batch file after they've
- ]been compressed. If you have an answer, please respond by personal mail.
-
- Try DRDOS' XDEL command:
-
- XDEL <path> /SDR
-
- I usually use XDEL <path> /SDNR, but I wouldn't want the /N (don't
- prompt me--just do it) to be in a batch file...
-
- --
- John "Frotz" Fa'atuai frotz@novell.com (email@domain)
- Desktop Systems uunet!novell.com!frotz (bang address)
- Group/Novell NOVELL:FROTZ or FROTZ@NOVELL (MHS address)
- c/o TS Dept. 408/645-2067 (vmail)
- 80 Garden Court 408/649-8209 (fax)
- Monterey, CA 93940
-