Stan, > Should be. I think you need to use eject, and thta probably needs to be run > with sudo toget the right permissions. Cheers, but what should I be using? irxevent? And what's the correct syntax? I looked in irxevent's man page with no avail. Thanks again, Cheers - Piers