Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. changing shortcut name

changing shortcut name

Scheduled Pinned Locked Moved C / C++ / MFC
comhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    neha agarwal27
    wrote on last edited by
    #1

    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

    R 1 Reply Last reply
    0
    • N neha agarwal27

      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

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups