PDA

Click to See Complete Forum and Search --> : A way to get a shortcuts Target?


MichaelVB
Jan 26th, 2000, 05:37 AM
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

chrisjk
Jan 26th, 2000, 08:55 AM
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
chris.kilhams@btinternet.com
If it ain't broke - don't fix it :)


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