window links

BlitzMax Forums/BlitzMax Programming/window links

Jesse(Posted 2008) [#1]
I googled and couldn't fine anything that could help me.
Is there a way to access or interpret the information contain in a link such as a file link or a directory link.
I am still working on my filerequester and I am running in to problems.

you can look at what I have so far if you follow my signature link.


Kev(Posted 2008) [#2]
theres some nice examples on how to resolve a shortcut link to the referenced file available on this link. im not sure how folders work but this should point you in the right direction.

http://www.catch22.net/tuts/tips2.asp


Jesse(Posted 2008) [#3]
thanks Kev. I'll look in to it.


Jesse(Posted 2008) [#4]
I have produced this code from information I collected.
it reads the shortcut file and returns the actual path or filename along with a lot of information included.
I still have not been able to decode per item. If anybody is willing to help me solve it I would really appreciate it.

I would like to have it tested and any problems reported please and thanks in advance.
my main concern is the final output which is the item being linked to.
does it produce the long file name or the old DOS file name?

I think it will be a problem with vista but I don't really know sence I don't have it.

The code is really raw and undocumented. Sorry, I don't have much time to detail it now.


[edit]
I got the documentation from here:
http://mediasrv.ns.ac.yu/extra/fileformat/windows/lnk/shortcut.pdf