I've made a template in Photoshop with an action, that exports all the different sizes of an icon for you. As it does actually use different icons for the folder at each size to make sure it draws and reads properly at the respective sizes.
admin enabled