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?