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
Thread Forum
exe opens in notepad instead of installing
Just as the title says. I have tried: and downloaded the default.exe, right click, merge neither one worked. I'm trying to install the drivers for my avid interface:
file:// protocol opens html file in Frontpage rather than browser
Here's a strange, and rather annoying bug. I recently installed an upgrade to Cubase (music editing software). In earlier versions, clicking "Help" opened a PDF manual, but now it links to an HTML file on the hard drive (specifically, the link is "file:///C:/Program Files/Steinberg/Cubase...
General Discussion
At start up notepad opens automatically with a code
[email protected]%SystemRoot%\system32\shell32.dll,-21769 IconResource=%SystemRoot%\system32\imageres.dll,-183 How do I fix this?
General Discussion
when open a word file or pwrpnt file another file is opens
God bless you, I am not a computer person please help me to fix the problem I have. Every time I open a word, power point and note pad program another file is opens with that (with a infinity sign in the front with the same extension ) is that a thread or how can I stop this thank you...
Microsoft Office
Trying to copy txt file in Notepad. "Notepad: Access is denied"
:mad::confused::cry: If I had known how much hassle Win 7 was I would have stuck with XP! Well I suppose its a learning curve.... Latest major hassle, I have a text file on my E:\drive, this is a copy of my XP C:\ drive before I installed Win 7 on it. I have now been able to get to it...
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 20:33.
Twitter Facebook