- Head over to NirSoft website and download a program called “FileTypesMan v1.65”.
- Unpack FileTypesMan from the ZIP file.
- Now copy your ICO file to %SystemRoot%system32 or to the root of your C disk. Just make sure it’s in some place you won’t move it from at some point.
- Run the FileTypesMan EXE file.
- Press Ctrl+F and type in .js and then press Enter to locate this extension, and Esc to close the Find dialog box.
- It should be already selected, if not, select it and press F2 to edit the file type.
- In the field “Default Icon” click the button next to it to locate your ICO file. If you stored it to %SystemRoot%system32 it should be in C:Windowssystem32 folder. You can also type in the search path. Click OK, then OK again to save changes.
You should now have something more pleasant to look at, like this:
Icon created by Untergunter, licensed as CC Attribution-Noncommercial-Share Alike 3.0.
This icon is nothing special really, but does look much better in a modern operating system such as Windows 7, than the default JScript icon that Microsoft uses. Another benefit of using this particular icon is that you get several icon sizes, so clicking the “change your view” button in Windows Explorer actually works for this file type, you get a nice big icon instead of the Windows 95 wreck you get by default.
You can use FileTypesMan program to change any file type icon on Windows 7. It’s also portable, so no need to install it. Anthor way to accomplish the same result would be to use Registry Editor (regedit.exe). I won’t cover that, since others have already done so.
Credits go out to HTG for explaining how to use this wonderful program.