# Open files in different software based on file signature (not extension) in Windows

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.