Jump to content

How to retrive target file from a shorcut file using C?


Recommended Posts

Posted

Hello All,

I want to retrive the Target Path of shortcut file on Windows using C.

Can

anyone help me in this?

 

Thanks,

MVB

  • Replies 3
  • Created
  • Last Reply

Popular Days

Guest Brian A.
Posted

Re: How to retrive target file from a shorcut file using C?

 

In the shortcuts properties click the "Find Target" button.

 

--

 

Brian A. Sesko { MS MVP_Shell/User }

Conflicts start where information lacks.

http://basconotw.mvps.org/

 

Suggested posting do's/don'ts: http://www.dts-l.org/goodpost.htm

How to ask a question: http://support.microsoft.com/kb/555375

 

 

"MVB" <madhurabhangay@yahoo.com> wrote in message

news:1186991819.846718.75110@g12g2000prg.googlegroups.com...

> Hello All,

> I want to retrive the Target Path of shortcut file on Windows using C.

> Can

> anyone help me in this?

>

> Thanks,

> MVB

>

Posted

Re: How to retrive target file from a shorcut file using C?

 

On Aug 13, 1:12 pm, "Brian A." <gonefish'n@afarawaylake> wrote:

> In the shortcuts properties click the "Find Target" button.

>

> --

>

> Brian A. Sesko { MS MVP_Shell/User }

> Conflicts start where information lacks.http://basconotw.mvps.org/

>

> Suggested posting do's/don'ts: http://www.dts-l.org/goodpost.htm

> How to ask a question: http://support.microsoft.com/kb/555375

>

> "MVB" <madhurabhan...@yahoo.com> wrote in message

>

> news:1186991819.846718.75110@g12g2000prg.googlegroups.com...

>

>

>

> > Hello All,

> > I want to retrive the Target Path of shortcut file on Windows using C.

> > Can

> > anyone help me in this?

>

> > Thanks,

> > MVB- Hide quoted text -

>

> - Show quoted text -

 

I want to retrieve the path using C programming. Is there any means to

do that?

Posted

Re: How to retrive target file from a shorcut file using C?

 

Dim sShortcutPath As String

Dim oShortcut As Object

Dim oShell As New WshShell

 

sShortcutPath = < path and filename of link file >

Set oSh = oScr.CreateShortcut(fn)

 

--

 

All the Best,

Kelly (MS-MVP/DTS&XP)

 

Taskbar Repair Tool Plus!

http://www.kellys-korner-xp.com/taskbarplus!.htm

 

 

 

"MVB" <madhurabhangay@yahoo.com> wrote in message

news:1186991819.846718.75110@g12g2000prg.googlegroups.com...

> Hello All,

> I want to retrive the Target Path of shortcut file on Windows using C.

> Can

> anyone help me in this?

>

> Thanks,

> MVB

>


×
×
  • Create New...