I have multiple folders under a root directory, within each is an icon (.ico) file which acts as the icon for the parent folder.
Unfortunately, a lot of these .ico files are named "Untitled-*.ico" (due to laziness!), and more importantly, the IconResource field in the desktop.ini files are all absolute filepaths (e.g. f:\library\folder1\folder2\untitled-1.ico,0), which is no good if the drive changes letter, for example (it's a removable drive), or folders are moved.
What I would like to do is:
A) Rename all those "untitled-*.ico" to folder.ico
B) Change all the desktop.ini files IconResource fields to "folder.ico,0" (hence removing the absolute file path from the name).
Any help/suggestions gratefully received.