home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / misc / 4571 < prev    next >
Encoding:
Text File  |  1992-07-31  |  1.2 KB  |  36 lines

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