Doing that in mIRC would be ugly, it would require recursion. Just use the DOS deltree command.