How can I detect if a file is opened by a program such as notepad, but not locked for editing?
Separate names with a comma.