k, with FileAction() you can do it also:

code:
$cdromeject=fileaction("d:\","eject")

_________________________
!

download KiXnet