You might be able to do this via WMI by checking the 8.3-compliant name for each of the directories and the file.

Why do you need 8.3 notation? Can't you put quotes around the filename?

Please elaborate.
_________________________
There are two types of vessels, submarines and targets.