Results 1 to 10 of 13

Thread: Couple of things...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7

    Default Re: Couple of things...

    Hi Lee,Arnor,

    It is possible to get the shorcut information using the WScript.Shell
    If you use the CreateShorcut method with a link path that already exists
    it open that shorcut and returns an object reference that you can use to
    query the TargetPath and Arguments properties.

    See attached C11 project files and example output.
    Just make sure you enter and existing lnk in the entry as you don't want
    to create new links :-)

    Obviously if you don't know the shortcut you need in advance you'd need to
    do a directory looking for .lnk files and query each for the TargetPath to
    find the one you want.

    Graham
    Attached Images Attached Images  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •