use Win32::Shortcut;
$link = Win32::Shortcut->new( );
This creates the shortcut object $link, on which
you can set properties and save into a file. If you supply a filename
as an argument to new, the file will be loaded
into the shortcut object.
The object can also be accessed as if it was a normal hash reference.
The following properties (hash keys) are available:
$link->{'File'}
$link->{'Path'}
$link->{'ShortPath'}
$link->{'WorkingDirectory'}
$link->{'Arguments'}
$link->{'Description'}
$link->{'ShowCmd'}
$link->{'Hotkey'}
$link->{'IconLocation'}
$link->{'IconNumber'}
The methods provided by Win32::Shortcut are as follows.
new Win32::Shortcut [file]
Creates a new shortcut object. If a filename is passed in
file, automatically
Load s this file also. Returns the object created,
or undef on error.