Windows Batch File (.bat) Not Running

If you’ve ever accidentally set batch files to open in a text editor, and now are unable to run them anymore you have to use the registry editor instead of the Control Panel file associations. As pointed out in [this article][1]…

  1. Click on “Start”->”Run” and type in “REGEDT32” and press Enter to start the Registry Editor.
  2. Find the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.BAT\UserChoice
  3. Delete the key named “UserChoice”[1]: http://stackoverflow.com/questions/20720404/what-is-the-default-program-to-interpret-windows-batch-file

Please remember to subscribe to the newsletter or feed to stay up to date.

Disclaimer: Thoughts and opinions are my own, and do not reflect the views of any employer, family member, friend, or anyone else. Some links may be affiliate links, but I do not link to anything I do not use myself.