Results 1 to 2 of 2

Thread: A way to get a shortcuts Target?

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 1999
    Posts
    5

    Post

    Is there a way to quickly get the Target name of a Folder or File Shortcut from the filename.LNK file? (Perhaps through the API) For example, when I right-click on a desktop shortcut and select properties, I can easily see the Target and the Targets container. Is there a way in VB to get these properties?

    I know there is probably a very simple answer but I appreciate your help, and thanks!

    Michael

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    If it helps, there is a property somewhere in Windows that relates to how they are used. For example, if you open a shortcut in a program, it will attempt to open the file that the shortcut links to, rather than the shortcut itself. You can turn this off, but I have forgotten how.

    Not much use, just incase it proves usefull

    Good luck,

    ------------------
    - Chris
    [email protected]
    If it ain't broke - don't fix it


    [This message has been edited by chrisjk (edited 01-26-2000).]

Posting Permissions

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



Click Here to Expand Forum to Full Width