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 ?
Professional Software Development Tools
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 ?
i dont think there is any way to edit a .ink file, but its easy enough to delete and make a new one
Code: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);
Open your eyes to Narcissism, Don't let her destroy your life!!
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![]()
Last edited by qwerty; 06-16-2007 at 12:18 PM.