Sounds like this is related to mIRC's handling of dir/file names that match windows device names.