home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / os2 / misc / 27411 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.1 KB

  1. Path: sparky!uunet!gatech!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Idea for a unique delete?(for lack of a better description)
  5. Message-ID: <1992Aug14.190847.27656@njitgw.njit.edu>
  6. Date: 14 Aug 92 19:08:47 GMT
  7. References: <1992Aug11.162951.8984@njitgw.njit.edu> <1992Aug12.024411.3787@afit.af.mil> <1992Aug13.104201.21850@wraxall.inmos.co.uk>
  8. Sender: news@njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Lines: 20
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. In article <1992Aug13.104201.21850@wraxall.inmos.co.uk> des@frogland.inmos.co.uk (David Shepherd) writes:
  14. >1) write a script CLRTRASH.CMD
  15. >
  16. >DEL C:\TRASH\*.* /<??>
  17. >
  18. >with whatever the option is to delete with out confirm
  19.  
  20. Or just do this:
  21.  
  22. CD C:\TRASH
  23. FOR %%A IN (*) DO DEL %%A
  24. CD C:\
  25.  
  26. This works under all versions of DOS as well - just replace the * with
  27. a *.*
  28. -- 
  29.    |)  David Charlap           "I don't even represent myself
  30.   /|_  dic5340@hertz.njit.edu   sometimes so NJIT is right out!.
  31.  ((|,)
  32.   ~|~  Hi! I am a .signature virus, copy me into your .signature file.
  33.