When I click a .bat file it gives me a message: "How do you want to open this file?" .
I expect a batch file to run a cmd for me, so even when I click an option to open the file with cmd it doesn't work. I tried creating a simple .bat command:
@echo off title This is your first batch script! echo Welcome to batch scripting! pause
But when I do that the file itself doesn't even look like a .bat file:
...and doesn't open cmd as it should.
I think there is something wrong with the .bat in regedit.