View Full Version : How to rename a shortcut
NewsArchive
03-11-2011, 01:55 AM
I have named a program shortcut Easyplan 2010
Its outdated now....
I want my install to reoplace the present shortcut named Easyplan 2010
with a new one named EasyPlan
Tried
Delete Files "%_CSIDL_DESKTOPDIRECTORY%\Easyplan 2010.lnk" [Remove
read-only]
and adding the new instead.
The new is created(Of cause, its SB7), but the old is stll there.
Can any explain 'How to'
Best regards
Edvard Korsbæk
NewsArchive
03-11-2011, 01:55 AM
Hi Edvard,
> I have named a program shortcut Easyplan 2010 Its outdated now....
>
> I want my install to reoplace the present shortcut named Easyplan 2010
> with a new one named EasyPlan
> Tried Delete Files "%_CSIDL_DESKTOPDIRECTORY%\Easyplan 2010.lnk" [Remove
> read-only]
>
> and adding the new instead.
> The new is created(Of cause, its SB7), but the old is stll there.
>
> Can any explain 'How to'
A Shortcut is nothing more than a file. Are you sure that you have removed
the correct file in the correct location? Please note that there is a
fundamental difference between "%_CSIDL_DESKTOPDIRECTORY% and
%_CSIDL_COMMON_DESKTOPDIRECTORY%
Friedrich
NewsArchive
03-11-2011, 01:56 AM
By the way, if you have one of the following in your uninstall .log:
-- Non-UAC Systems:
C:\Documents and Settings\All Users\Desktop\Easyplan 2010.lnk
-- UAC-Systems:
C:\Users\Public\Desktop\Easyplan 2010.lnk
then you have to remove:
%_CSIDL_COMMON_DESKTOPDIRECTORY%\Easyplan 2010.lnk
Friedrich
NewsArchive
03-11-2011, 01:56 AM
Thanks - As allways you were right!
Works now
Whats the path to 'Quick launch'?
Edvard
NewsArchive
03-11-2011, 01:56 AM
Hi Edvard,
> Thanks - As allways you were right!
> Works now
Perfect!
> Whats the path to 'Quick launch'?
Try the "Get Special Folder Path (SB_IEQUICKLAUNCH)" script function to
retrieve the folder location.
Friedrich
NewsArchive
03-11-2011, 01:58 AM
>Hi Edvard,
>
>> Thanks - As allways you were right!
>> Works now
>
>Perfect!
>
>> Whats the path to 'Quick launch'?
>
>Try the "Get Special Folder Path (SB_IEQUICKLAUNCH)" script function to
>retrieve the folder location.
PERFECT (As usual)
>
>Friedrich
>
>
Edvard
NewsArchive
03-11-2011, 01:59 AM
Checking for existance and errors is probably a good idea
Jeff Slarve
www.jssoftware.com
www.twitter.com/jslarve
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.