should do the trick. Now if you can tell me how to determine which files in a given list are in fact shortcuts (apart from testing the ShortcutPath using Win32::Shortcut) then I'd be interested to hear it!my $shortcut = Win32::Shortcut->new($file); $shortcut->{IconLocation} = 'C:\Perl\bin\perl.exe'; $shortcut->{IconNumber} = 0; $shortcut->Save($file);
--
I'd like to be able to assign to an luser
In reply to Re: Changing Windows Shortcut Icons
by Albannach
in thread Changing Windows Shortcut Icons
by mdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |