For the animated cursors in the Cursor directory of the Windows directory, the icon to be displayed depends not only on the animated cursor file type but should also be different for each animated cursor file. To display the correct icon next to each file the Registry must be edited with a script. Create the following script exactly and save it with the name ANICUR.REG.
Code Listing 4. Registry Script File to Register Animated Cursor Icons
REGEDIT4
[HKEY_CLASSES_ROOT\anifile]
@="Animated Cursor"
[HKEY_CLASSES_ROOT\anifile\DefaultIcon]
@="%1"
Now launch ANICUR.REG from Explorer and then restart the Explorer. The icon of each animated cursor should be displayed next to each ANI file, representing the animated cursor contained in that file.