Opus batch scripts don't work if default .bat action is changed

My batch scripts I added to a lister menu stopped working, and instead opening Notepad++. I realized why: I changed the default action for batch files from run to open in Notepad++. I did that for a variety of reasons, including security as it prevents accidentally executing them.

It's not a bug exactly, it's probably reasonable to use the default action in 99% of cases, but it does mean you can break Opus by changing your Windows settings.

Surely that breaks a lot of things outside of Opus as well?

Not that I have noticed.

FWIW in Opus you could do that by setting up a dblclk action for the .bat filetype to launch Notepad++, which would protect against accidental double-clicks without changing the default action.

1 Like