use constant SHIFT => 0x0100; use constant CTRL => 0x0200; use constant ALT => 0x0400; my $LINK=new Win32::Shortcut(); $LINK->Set('c:\targetfile', '', # arguements 'c:\', # directory tto execute in 'Perl Shortcut', # description 1, # window state (1 is normal) SHIFT+CTRL+ord('S'), # shorcut key '', # icon file eg win32.dll 0); # icon number in file my $shortfile = $ENV{USERPROFILE}.'\Start Menu\Programs\Acces +sories\shortcut.lnk'; $LINK->Save($shortfile); # run Explorer targetting the file just created # system("Explorer /e,/select,$shortfile"); $LINK->Close();