View Full Version : real simple question regarding shortcuts
qwerty
06-15-2007, 02:36 PM
I have a shortcut already on my system, i want to change it's target text, is it possible to do this from AMS, or must i delete the shortcut and create a fresh new one ?
RizlaUK
06-16-2007, 05:06 AM
i dont think there is any way to edit a .ink file, but its easy enough to delete and make a new one
Shell.DeleteShortcut(Shell.GetFolder(SHF_DESKTOP), "Shortcut to My File");
Shell.CreateShortcut(Shell.GetFolder(SHF_DESKTOP), "Shortcut to My File", "C:\\My Prog\\MyExe.exe", "", "", "", 0, SW_SHOWNORMAL, nil);
qwerty
06-16-2007, 01:14 PM
yeah thats what i ended up doing, i copied another create shortcut section i already had, so it at least allowed me to add a description (after the nil bit) which was missing from the original shortcut :)
i just didnt want to find that i was going the long way about it and find later that there was the option to open a shortcut to edit the details.
cheers for the reply though :)
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.