PDA

View Full Version : Rename an existing shortcut during update install



NewsArchive
10-22-2005, 03:09 AM
Does anyone know a way to rename an existing shortcut?

I am installing an update. The initial full install has already placed a
program shortcut called "My Shortcut" on the program start menu. I would
like to rename this existing shortcut to "My New Shortcut".

Deleting the existing one and adding the new one would work just as well,
however, I have been all through the help file and functions and can't see
any way to do this.

Is it possible?

Thanks.

Lee

NewsArchive
10-22-2005, 03:09 AM
I think you'll have to delete the old one and add the new one.

--

Ben E. Brady
The information contained in the message above, as expressed by the author,
is copyright 2005 by Ben E. Brady, All rights strictly reserved worldwide.
The information contained in the message above may not be posted on any
other information forum or web site without the express written permission
of the author.

www.clariondeveloper.com

NewsArchive
10-22-2005, 03:09 AM
Kind of figured as much but that could be a real pain if it has been moved.
I can get the original location from the LOG file but that doesn't mean it's
still there.

That would be a problem regardless. Wouldn't it?

Thanks

Lee

NewsArchive
10-22-2005, 03:09 AM
Outside of pressing F2, nope.

--
Russ Eggen
www.radfusion.com

NewsArchive
10-22-2005, 03:10 AM
Oh well......

Never hurts to ask.

Lee

NewsArchive
10-24-2005, 05:39 AM
I haven't tried this but it seems to me you could use the "Get Special
Folder Path" function and assign it to a variable %SB_ThePath then use
the "Rename File/Folder Name" function to change it:
Old Name - %SB_ThePath\My Shortcut.lnk
New Name - %SB_ThePath\My New Shortcut.lnk

Best Regards,
Geoff Spillane
Data Down Under

NewsArchive
10-24-2005, 05:39 AM
Geoff,

Somehow I missed that function. I will check into it.

Thanks for the heads up.

Lee