I'm looking to create a batch windows script file to define the icon location of a folder, in the folders desktop.ini
Basically, I have over 400 videos in my media drive. Each has a icon file in it with the same name as the folder for example:
E:\Movies\Movie (2010) --> Folder Name E:\Movies\Movie (2010).ico --> Icon File Name
Initially I went about right clicking each folder and customizing the icon, however recently I changed PC's and attached the HDD in the new PC and all the folders icons went to default. If there is a possible solution, I would really be grateful.
PS the last time I did any sort of coding was the era of MS-DOS batch files :)
Put this in a vbs file and run in the cmd with the argument being the folder the folders are in
Notes:
EDIT: This one works instantly (and the code is much nicer):