Hi all, I just took another look at an exercise I wrote a couple months ago and fleshed it out a bit. It is a commandline "trashcan" program which I actually use. Instead of typing 'rm' I almost always use 'rmm' now.
It's meant to be used in a "friendly" environment, nonetheless, if anyone sees any potentials for error (or suggestions for better work) please say so... http://timo.iu-bremen.de/~pfeiffer/bin/trash.d/ (I'm also not quite sure if $ENV{HOME} is valid for the Windows environment.) I ran into the problem of how to delete non-empty directories (which I ignored the first time I worked on this) and remembered from my objects book that I needed a recursive function to first clear out my directories. Amazingly, I actually remembered how to do this (okay, it's not that difficult, I know). Thanks, -Kevin -- Kevin Pfeiffer -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]