It sounds like you had a corrupt "icon cache" - This is a particular file on the computer that can get easily corrupted. One way of fixing it is to do precisely what you've done and recreate the files and folders concerned. There is another way of fixing it, but it's a bit complicated, involving...