Is there any software for opening files with the same extension in different software depending on the file's signature?

For example, a file with extension .pcb and file signature PCB FILE 4 should be opened in one program, while a file with extension .pcb and file signature 00 FF should be opened in an entirely different program.

I made my own solution a while ago, which I will post as an answer, but it's annoying and clunky to use, and maybe there's some obscure general-purpose dedicated compiled solution out there that works better.


1 Answer 1


Before Software Recommendations existed, I posted the same question on SuperUser, and ended up solving it myself with a python script:


which is now here:


But it's annoying to configure.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.