The files I'm trying to check are various types of CAD data object files.

.dbf, .prj, .xml, .sbx, .sbn, .shp, .shx

I need to check if any of these files are in use on the local computer before I run a script that overwrites them. Any suggestions on how I can do this?

I may also be able to run an EnumProcess on the application that would be using these files. I don't have that information yet, so I'm starting with checking the "used" files first.
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5