I have a script that maps, remaps and unmaps various network shares to the same drive letter(s). I would like to abort the unmapping of a drive if there are open files on the drive. How can I detect these open files?