PDA

View Full Version : Shortcut Pointer


scotland42
02-22-2005, 01:55 PM
Does anybody know how to query a shortcut (.lnk) to see where it is pointing? I'm trying to check if a file a shortcut points to exists.

Any help would be GREATLY appreciated!

Intrigued
02-22-2005, 02:34 PM
For Windows XP

Right-click the shortcut and then left-click on the properties at the bottom of the popup menu. Then click on Find Target... and finally you should see a path.

scotland42
02-22-2005, 02:37 PM
I was wondering if there was an automated way to do in in Autoplay.

Worm
02-22-2005, 09:41 PM
You can give this a try, it's not pure AMS, but it serves the purpose.

scotland42
02-23-2005, 04:57 PM
Thank you worm!!! That work exactly as I would want it to. Just out of curiosity, did you write the dll yourself?

Worm
02-23-2005, 05:30 PM
You're welcome.

And yes I did write the dll in PowerBASIC.