Running Windows 8.1. This worked a few days ago. Really do not know what has changed, nor am I aware of any update that might have stopped this working.
When I run a .bat (batch) file (right-click > Open or double-click) the batch file is displayed in Notepad++ and does NOT run. If I load a command prompt and manually run the .bat file from inside the command prompt, the batch file runs perfectly.
I've carefully checked these two articles:
How do I restore .bat files association with the system (make them run when double-clicked)? https://stackoverflow.com/questions/4905708
and nothing makes a difference. Specifically:
From a command prompt:
assoc .batreturns.bat=batfileftype batfilereturnsbatfile="%1" %*
After everything I've tried, the PC has been rebooted with no difference. This is driving me crazy...why won't batch files run any more?