I recently had a problem (trojan/virus?) that removed a number of windows file associations rendering my system nearly unusable (.lnk and .exe files wouldn't launch from the shell - yikes!). I found this page with .reg files which restore the default file associations for most standard file types in Windows XP.