A J

A J

  • NA
  • 1
  • 2.1k

Get the name of shortcut

Jul 27 2010 5:03 PM
I have a scenario where I have 2 shortcuts for the same exe (3rd party exe). Say S1 and S2. When they are running I have 2 processes in task manager say app.exe and app.exe

I can get the PID, handle of the process but what I want to get is the name of the shortcut that is attached to the launch of the process. Is it possible to get the name of shortcut which launched the process somehow?

Note, this is a 3rd party app so I have no control over it. Had it been my app, I could have coded it to accept some argument etc etc and tracked it.

Answers (1)