Oh, wait. Your are the registered owner of the extension?
Then you double click the shortcut?
Get the command line params. The command line has the path to the file.
>How does the exe open the shortcut?
>
>I must be missing something.
>
>
>At 9/11/2003 01:45 PM, Palmer, Jean L. wrote:
>
> >*I* know the path to the shortcut.
> >Any person opening the shortcut knows the path to the shortcut.
> >I want the .exe to know the path to the shortcut. I want to save it for
> >later use.
> >
> >
> >-----Original Message-----
> >From: Phil Daley [mailto:[EMAIL PROTECTED]]
> >Sent: Thursday, September 11, 2003 1:38 PM
> >To: [EMAIL PROTECTED]
> >Subject: Re: [msvc] shortcut path
> >
> >
> >At 9/11/2003 01:17 PM, Palmer, Jean L. wrote:
> >
> > >I am programatically opening a file though its file shortcut. I want to
> > >know the path to that shortcut. The only thing I seem to be able to get
> >is
> > >the path that the shortcut points to.
> >
> >You must have the name of the shortcut?
> >
> >What about GetPath? on the shortcut name?
> >
> >How do you open the shortcut, if you don't know it's path?
>
Phil Daley < AutoDesk >
http://personal.monad.net/~p_daley
