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: Help .BAT files open in notepad instead of running


30 Oct 2010   #1

Windows 7 Home Premium x64
 
 
Help .BAT files open in notepad instead of running

Please help me .BAT files are now opening in notepad instead of running like they used to. This problem just recently occured and up until then they were running fine. I have tried to change the default program but i dont know what to change it to. Any help is greatly appreciated thanks.


My System SpecsSystem Spec
.

30 Oct 2010   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Ripstik, and welcome to Seven Forums.

You can download and merge the bat option in the tutorial below to restore the default associations for the .bat file extension.

Default File Type Associations - Restore

Hope this helps,
Shawn
My System SpecsSystem Spec
30 Oct 2010   #3

Windows 7 Home Premium x64
 
 
thanks

Thank you so much it worked great
My System SpecsSystem Spec
.


30 Oct 2010   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome Ripstik.
My System SpecsSystem Spec
30 Oct 2010   #5

windows 7 ultimate 64bit
 
 

just an FYI. a lot of utility suites (tune-up, system mechanic, etc.) will change the default program for certain file extensions, to open with notepad, because they are a security risk. so if you use one of those utilities, dont use the "one-click maintenance" feature.
My System SpecsSystem Spec
Reply

 Help .BAT files open in notepad instead of running




Thread Tools



Similar help and support threads for2: Help .BAT files open in notepad instead of running
Thread Forum
Solved .bat files open with notepad instead of running..help?! General Discussion
Solved Making the 'edit' option on batch files open in notepad++ General Discussion
Solved Can't open notepad as a administrator General Discussion
Solved .reg files open Notepad - do not change registry to read older files Microsoft Office
Solved REG files open in Notepad instead of merging General Discussion
Open with Notepad - Add or Remove from Context Menu of Files Tutorials
files open up to notepad 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 02:52 AM.
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