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: Any way to prevent notepad or Emacs from making file associations?


05 Mar 2012   #1

win 7 enterprise
 
 
Any way to prevent notepad or Emacs from making file associations?

I have an ongoing problem with using Emacs on a Windows 7 machine. When I edit a .bat file and save the file, Emacs updates the registry with an association to 'open' .bat files with the Emacs editor. Batch files then fail to run properly, as they get open with Emacs rather then simply being run by a Command prompt window.

Its quite a bother, since I continually ahve to edit my registry to fix this automatic file association. Anyone know of a way to lock file associations for .bat files, or disable automatic registry updates by programs like Emacs or Notepad?

My System SpecsSystem Spec
.

05 Mar 2012   #2

Windows 8 Core X64
 
 

Notepad doesn't do this. If it does on your system then there is something else involved.

There must be a setting in Emacs to stop it from doing this as well. Look through the .emacs file, I think this controls optional stuff. If not, find another editor.
My System SpecsSystem Spec
Reply

 Any way to prevent notepad or Emacs from making file associations?




Thread Tools



Similar help and support threads for2: Any way to prevent notepad or Emacs from making file associations?
Thread Forum
Solved File associations help! General Discussion
Solved Making the 'edit' option on batch files open in notepad++ General Discussion
Solved How to prevent Guest account from making modifications to the computer System Security
Trying to copy txt file in Notepad. "Notepad: Access is denied" General Discussion
Solved File associations General Discussion
file associations General Discussion
File Associations Customization

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:59 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