Thursday 3 October 2013

Restore file associations and icons under Windows

Soft for Windows likes to override icons and extentions assocs so that it's so difficult to bring them to normal state. For instance, you can get crappy icons on Word files after reinstallation of MS Office. The solution to this mess is damn simple.

Backup.bat
FTYPE > backup_types.txt
ASSOC > backup_ext.txt

Restore.bat
FOR / F "tokens =* delims =" %%G IN (backup_types.txt) DO FTYPE %%G
FOR / F "tokens =* delims =" %%G IN (backup_ext.txt) DO ASSOC %%G

Don't forget to generate and put to safe place those two files after fresh install of Windows and soft. For those who is in search for the solution like I did before, here is the list of keywords to let Google find the post:
  • restore file associations Windows
  • restore icons Windows
  • restore exntention associations Windows
  • how to restore file associations Windows
  • restore file types Windows
  • recover file associations Windows

No comments:

Post a Comment