in reply to How do I create a Win32 'shortcut' (.LNK) file?
my $LINK=new Win32::Shortcut();
$LINK->Set("c:\\yourprogramname",
"list of arguments",
"c:\\wherever you want it to run from",
"description",
1, #window state (1 is normal)
hex('55x0337'), #shorcut key*
"",#icon file eg win32.dll
0);#icon number in file
$LINK->Save("c:\justaname.lnk");
$LINK->Close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Here's the code
by Foggy Bottoms (Monk) on Jun 12, 2003 at 13:42 UTC | |
|
Re: Here's the code
by PhilHibbs (Hermit) on Aug 13, 2003 at 08:41 UTC | |
by Foggy Bottoms (Monk) on Aug 13, 2003 at 12:23 UTC |