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