In windows explorer, in my java project folder, I right clicked on one of my .class files and clicked/changed the "open with" source to notepad. I did not check the "always open with" box, but ALL .class files in every one of my folders changed to the notepad "icon". I can't even remember what the old icon looked like, but that is where I'm trying to get back to. I was able to change the "open with" icon over to some form of java.exe format (see attachment), but how do I get it to revert back to that default "icon"? view of .class file "icons" in my folder

1

There are 1 best solutions below

3
AudioBubble On

Start regedit and delete the following two keys. And reboot your OS.

  • HKEY_CURRENT_USER\SOFTWARE\Classes\.class
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.class
  1. Explorer initial state

enter image description here

  1. Set to open with notepad

enter image description here

  1. regedit HKEY_CURRENT_USER\SOFTWARE\Classes\.class

enter image description here

  1. remove key HKEY_CURRENT_USER\SOFTWARE\Classes\.class

enter image description here

  1. regedit HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.class

enter image description here enter image description here enter image description here

  1. remove key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.class

enter image description here

  1. Explorer (sitill unchanged)

enter image description here

  1. Explorer (after restart windows)

enter image description here