Friday, April 06, 2007

How to fix a broken .bat file extension

Somehow my Vista computer got set to open batch files (.bat) in NotePad.  No clue how, really (since there is no Open With right-click option for batch files).

Anyhow, the fix was as follows:

  1. Fire up Regedit
  2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\
  3. Clear the OpenWithList Key
  4. Remove the UserChoice Key


Post a Comment

<< Home