I done something really stupid and made notepad association with .bat. Now if I try to execute a .bat file it opens in Notepad++ instead of executing. I'm running vista home prem x64.
Any ideas on howto fix would be greatly appreciated. already tried
1. control panel > Default programs > Set Associations nothing to delete the association can change though but not sure what to change to.
2. removed the association within notepad++
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Clint did you ever find a solution to this issue? I'm in the same boat and other than renaming my .bat files to .cmd I can't find a way to restore the default association.
I tried associating with cmd.exe but this only opens a cmd prompt it doesn't run the batch file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I done something really stupid and made notepad association with .bat. Now if I try to execute a .bat file it opens in Notepad++ instead of executing. I'm running vista home prem x64.
Any ideas on howto fix would be greatly appreciated. already tried
1. control panel > Default programs > Set Associations nothing to delete the association can change though but not sure what to change to.
2. removed the association within notepad++
I agree - the same applies to .vbs files.
There's an open bug about this here:
https://sourceforge.net/tracker/index.php?func=detail&aid=1876137&group_id=95717&atid=612382
fixed! there is a registry key here: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\
called .bat. just deleted that. everything back to normal.
congrats to ya
yes I think your solution is much wiser that others. just delete the relevant key and the system will make it done automatically.
Clint did you ever find a solution to this issue? I'm in the same boat and other than renaming my .bat files to .cmd I can't find a way to restore the default association.
I tried associating with cmd.exe but this only opens a cmd prompt it doesn't run the batch file.
Ok that's odd when I replied I saw your fix. Today's and odd day on the web for me.