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

  1. Path: sparky!uunet!inmos!wraxall.inmos.co.uk!frogland.inmos.co.uk!des
  2. Newsgroups: comp.os.os2.misc
  3. From: des@frogland.inmos.co.uk (David Shepherd)
  4. Subject: Re: Idea for a unique delete?(for lack of a better description)
  5. Message-ID: <1992Aug13.104201.21850@wraxall.inmos.co.uk>
  6. Organization: INMOS architecture group
  7. References: <1992Jul28.021155.2322@midway.uchicago.edu> <NMOUAWAD.92Aug8142734@math.waterloo.edu> <pathak-100892114445@129.83.61.53> <1992Aug11.162951.8984@njitgw.njit.edu> <1992Aug12.024411.3787@afit.af.mil>
  8. Date: Thu, 13 Aug 92 10:42:01 BST
  9. Lines: 35
  10.  
  11. In article <1992Aug12.024411.3787@afit.af.mil>, fkilpatr@afit.af.mil (Freeman A. Kilpatrick) writes:
  12. >Why not just make a 'trash' directory, shadow it to the desktop, then decorate it
  13. >with the icon of your choice (trash-can, oscar, shredder, whatever).  Then all you
  14. >have to is periodically delete everything in that directory.  I admit that is a
  15. >little more difficult then having an 'empty trash' menu option (ala Mac), but it is
  16. >pretty close.
  17.  
  18. 1) write a script CLRTRASH.CMD
  19.  
  20. DEL C:\TRASH\*.* /<??>
  21.  
  22. with whatever the option is to delete with out confirm
  23.  
  24. 2) then make a program object point to this (??? you may be
  25. able to put the above command directly into the program/parameters
  26. slots ... not entirely sure as since DEL (i assume) is a builtin
  27. whether WPS allows this) ... call it "empty trash"
  28.  
  29. 3) in settings menu of trash dir icon add
  30. "empty trash" program object to the main menu (or perhaps
  31. open sub-menu)
  32.  
  33. 4) you now have "empty trash" as a menu item
  34.  
  35. this *should* work ... but i've experienced some problems at
  36. times making such associations etc stick ... i.e. you edit the
  37. settings and all is ok that session but the next time
  38. you start (after a proper shutdown) the new info has disappeared :-(
  39.  
  40. -- 
  41. --------------------------------------------------------------------------
  42. david shepherd: des@inmos.co.uk or des@inmos.com    tel: 0454-616616 x 625
  43.                 inmos ltd, 1000 aztec west, almondsbury, bristol, bs12 4sq
  44.         "i speak latin to god,   spanish to men,   french to women 
  45.          and german to my horse."             - charles v of spain
  46.