changing shortcut name
-
Hi all, i am writing the code for making shortcuts at particular location..... like desktop and quick launch..... i am creating them using com..... now my problem is if i want to change the shortcut name...like file name is abc.exe and i want that exe name to be xyz.exe.... how could i do this.... thanks in advance
-
Hi all, i am writing the code for making shortcuts at particular location..... like desktop and quick launch..... i am creating them using com..... now my problem is if i want to change the shortcut name...like file name is abc.exe and i want that exe name to be xyz.exe.... how could i do this.... thanks in advance
neha.agarwal27 wrote:
i am creating them using com.....
possibly using the reply from CP for How to create and resolve a shortcut[^] first of all you didn't mind to replied whether that is useful and next the link is clearly documented. HRESULT CreateShortcut(/*in*/ LPCTSTR lpszFileName, /*in*/ LPCTSTR lpszDesc, /*in*/ LPCTSTR lpszShortcutPath ) create new shortcut or resolve the shortcut and change the target file name