#89632 - 2002-11-27 02:04 PM
Re: help with creating shortcuts with shellLinkObject
|
DonKing
Fresh Scripter
Registered: 2002-11-27
Posts: 22
|
Is it also possible to create a 'folder shortcut' through KIX instead of a 'normal' shortcut?
Folder shortcuts can be created through My Networkplaces | Add networkplace. This creates a shortcut that differs greatly from a normal shortcut. You can't set security properties for example. In a command prompt the link is represented as a . Copying the link doesn't work also.
Any brilliant suggestions?
|
Top
|
|
|
|
#89634 - 2002-11-27 02:46 PM
Re: help with creating shortcuts with shellLinkObject
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
DonKing,
Is this what your are looking for?
Creating a Shortcut to the System Folders
HTH,
Kent [ 27. November 2002, 14:46: Message edited by: kdyer ]
|
Top
|
|
|
|
#89636 - 2002-11-27 03:03 PM
Re: help with creating shortcuts with shellLinkObject
|
DonKing
Fresh Scripter
Registered: 2002-11-27
Posts: 22
|
Kent,
You're getting warm, but it's not quite what I mean. I want to create a folder shortcut that points to a network share. Not to a systemfolder.
The WshShortCut function creates a normal shortcut (.lnk). A folder shortcut has no extension or workpath, icon properties.
But thanks for your quick reply.
Don
|
Top
|
|
|
|
#89638 - 2002-11-27 03:41 PM
Re: help with creating shortcuts with shellLinkObject
|
DonKing
Fresh Scripter
Registered: 2002-11-27
Posts: 22
|
Lonkero,
It would be great if it works, but I ran the code and it seems to loop.
Don't kick me to the starters section, but can you give me a little more comment on the workings of this piece of code? It doesn't look like plain vanilla kix, more like vbscript.
Don
|
Top
|
|
|
|
#89640 - 2002-11-27 03:50 PM
Re: help with creating shortcuts with shellLinkObject
|
DonKing
Fresh Scripter
Registered: 2002-11-27
Posts: 22
|
Indeed, I guess I'm still using an old version of KIX.
However I user KIXgui also, and the syntax looks the same.
|
Top
|
|
|
|
#89642 - 2002-11-27 04:02 PM
Re: help with creating shortcuts with shellLinkObject
|
DonKing
Fresh Scripter
Registered: 2002-11-27
Posts: 22
|
Where can I supply the name of the shortcut then? Can I also supply the destination of the link somewhere?
I changed the destination of the link, but all I get is the prompt. Nothing seems ta have happened.
Thanks, Don
|
Top
|
|
|
|
#89644 - 2002-11-27 04:26 PM
Re: help with creating shortcuts with shellLinkObject
|
DonKing
Fresh Scripter
Registered: 2002-11-27
Posts: 22
|
Yes, I'm running W2K SP3.
What I meant to ask was if it is possible to place the shortcut in another path then where the script is executed? Moving a folder shortcut is difficult as far is I can see.
What name should the shortcut have?
Don
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 331 anonymous users online.
|
|
|