Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Can not run a .bat file, opens in Notepad...

18 May 2010   #1

Window 7 Professional 32-Bit
Can not run a .bat file, opens in Notepad...

Just tried to run a .bat file and it just opens up in notepad so it appears the file association has been mixed up.

I have tried running the attached file as a registry fix which was on another website for .bat file association problems but the error also shown in the screenshot appeared, I have looked at a process monitor to see what is currently accessing the registry but it's just svchost.exe so I can not understand why it won't merge. I have tried deleting the .bat file registry entry as a lot of threads on google suggest but it still doesn't re-create the association.

Anyone got any ideas?


Attached Thumbnails
Can not run a .bat file, opens in Notepad...-error.jpg  
My System SpecsSystem Spec

18 May 2010   #2

Window 7 Professional 32-Bit

Sorted it, nevermind!
My System SpecsSystem Spec
20 Jul 2010   #3

Windows 7
More details please

I'm receiving the same message you did with I try to merge the .reg file. Would you please share with me how you got past it? I don't understand what "sorted it" means (I can be slow sometimes ).

Thank you
My System SpecsSystem Spec


 Can not run a .bat file, opens in Notepad...

Thread Tools

Similar help and support threads for2: Can not run a .bat file, opens in Notepad...
Thread Forum
Text File does not open with Notepad Software
Solved .QML File Association with Notepad General Discussion
Trying to copy txt file in Notepad. "Notepad: Access is denied" General Discussion
how to use Notepad++ to view html file Software
.vbs file open with to change??? General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:07 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33