home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 36042 < prev    next >
Encoding:
Text File  |  1992-11-10  |  1.9 KB  |  47 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!think.com!spool.mu.edu!decwrl!access.usask.ca!jester.usask.ca!lowey
  3. From: lowey@jester.usask.ca (Kevin Lowey)
  4. Subject: Re: OS/2 Trascan Imitation
  5. Message-ID: <1992Nov10.180107.1575@access.usask.ca>
  6. Sender: news@access.usask.ca (USENET News System)
  7. Nntp-Posting-Host: jester.usask.ca
  8. Organization: University of Saskatchewan
  9. X-Newsreader: TIN [version 1.1 PL6]
  10. References: <1992Nov02.131019.17066@kub.nl>
  11. Date: Tue, 10 Nov 1992 18:01:07 GMT
  12. Lines: 33
  13.  
  14. Jeroen Hoppenbrouwers (hoppie@kub.nl) wrote:
  15.  
  16. : It is VERY VERY easy to get OS/2 to imitate a Macintosh trashcan. First,
  17. : drag a folder template to the desktop and rename it Trashcan. Second,
  18. : attach a trashcan icon to it. You can drop icons etc. in it and open up
  19. : the Trashcan to drag them back. Nothing spectacular. Just a folder.
  20. : Next, implement the EmptyTrash command: create a .CMD file that deletes
  21. : all stuff in the OS!2_2.0_Desktop\Trashcan folder (name may vary on your
  22. : system -- look with DIR). Something like 
  23.  
  24. This doesn't take into account three things:
  25.  
  26. 1) The example EmptyTrash.cmd file you gave doesn't take into account
  27.    subdirectories.  However, rewriting this .CMD file as a REXX script
  28.    should solve the problem nicely.
  29.  
  30. 2) The Macintosh trashcan empties the trash when the system is shut down.
  31.    We can emulate this by putting EMPTYTRASH.CMD in the Startup folder,
  32.    or using the ONEXIT command recently posted to the binaries group to
  33.    run EMPTYTRASH.CMD at shutdown.
  34.  
  35. 3) If the Macintosh starts getting short of disk space, it empties the trash.
  36.    We could emulate this by detaching a REXX command that wakes up every
  37.    few minutes, and runs EMPTYTRASH.CMD if the free disk space is below a 
  38.    certain value.
  39.  
  40. All in all, I thought this was a great idea.  As soon as I get home I plan
  41. to set it up.  Thanks for the suggestion.
  42.  
  43. - Kevin Lowey (Lowey@Sask.USask.CA)
  44. >>>>> Anonymous FTP to FTP.USASK.CA for DOS, OS/2, and Windows programs <<<<<
  45.  
  46.