Is it possible to execute a desktop shortcut on Win2k using AS Perl?
I used to do this on win98 by just adding .lnk to the path\file name and
putting it in a system statement, but that doesn't work on 2k. And I tried
guitest which seems should work, and didn't, but I'm not locked
On Fri, 04 Feb 2005, M. Smith wrote:
Is it possible to execute a desktop shortcut on Win2k using AS Perl?
I used to do this on win98 by just adding .lnk to the path\file name
and putting it in a system statement, but that doesn't work on 2k. And
I tried guitest which seems should work
: executing Desktop shortcut
Is it possible to execute a desktop shortcut on Win2k using AS Perl?
I used to do this on win98 by just adding .lnk to the
path\file name and
putting it in a system statement, but that doesn't work on
2k. And I tried
guitest which seems should work
} = %windir%\\notepad.exe;
$SC-{Hotkey} = ALT+CTRL+N;
$SC-Save;
-Original Message-
From: Ricci, Mark [mailto:mricci;wordwave.com]
Sent: Friday, October 25, 2002 8:05 AM
To: '[EMAIL PROTECTED]'
Subject: Desktop shortcut
Hello,
Is there a perl module that will automate creating a desktop shortcut
);
}
#
Mark
-Original Message-
From: Krummel, James C - PGGC-6 [mailto:jckrummel;bpa.gov]
Sent: Friday, October 25, 2002 2:47 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Desktop shortcut
Mark,
Here is a way to make a shortcut to a file or URL using OLE
PROTECTED]
To: '[EMAIL PROTECTED]'
[EMAIL PROTECTED]
Subject: RE: Desktop shortcut
Date: Fri, 25 Oct 2002 14:53:05 -0400
Thanks, James.
Will your script work on both Win98 and 2k systems?
I ended up using this script due to issues with 98:
use Win32::Shortcut;
use File::Copy;
if ($OS) {
$User
: Desktop shortcut
Mark,
It should work properly on a Win9x machine, as I asked the OS for the
location of the desktop rather then using a hardcoded path, although I do
not know if it supports the All Users Desktop tag. Here is a list of most
of the standard folders the OS tracks on. Win9x does
Krummel, James C - PGGC-6 wrote:
Mark,
It should work properly on a Win9x machine, as I asked the OS for the location of the desktop rather then using a hardcoded path, although I do not know if it supports the All Users Desktop tag. Here is a list of most of the standard folders the OS tracks