| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Tue Dec 26, 2006 5:39 pm Post subject: Edit a shortcut |
|
|
Is there a way I can edit a shortcut? (.lnk file)
I need to be able to change the start in path and target.
I know I can create a new one, but I also need to read the target and any parameters. The @file(<name>,L) only gets the file and not any parameters passed to the file.
Thanks _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Tue Dec 26, 2006 7:48 pm Post subject: |
|
|
I used to just overwrite the existing shortcut, but that also requires that
you have all the info for that shortcut. I don't know of anyway to just edit
a shortcut.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Tue Dec 26, 2006 8:01 pm Post subject: |
|
|
Great.. well that stinks. Thanks for the let down!
Nice site. I like the look, and props to your Deviantart page as well! _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Wed Dec 27, 2006 8:40 pm Post subject: |
|
|
Doesn't mean there isn't a way to do it, just that I don't remember such a
way using VDS. I might have overlooked something and maybe someone
else will come along and enlighten us
The .URL files of course you can open in VDS and edit.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
stewcam Newbie
Joined: 30 Sep 2006 Posts: 21
|
Posted: Wed Dec 27, 2006 9:22 pm Post subject: Editing shortcuts |
|
|
Have a look at this page:
Shell links
The information you want is down the page under the heading <Resolving a Shortcut>. From the text:
'An application may need to access and manipulate a shortcut that was previously created. This operation is referred to as resolving the shortcut.'
The steps involved don't look easy! |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Wed Dec 27, 2006 9:28 pm Post subject: |
|
|
Well, since Garrett reminded me about the .URL files, I know of a way that I can run a program using a .URL file. I think I'll use them and they are easily edited. Thanks for the info. @ Garrett, thanks for reminding about the .URL files. They will work good for what I want to do. _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
|