I was writing a program that required extracting the target path from a shortcut file. All the example I found used the "WScript.Shell" to achieve this. I decided to write a function which uses the createfile and readfile apis to load the file into memory, find the target path, and extract it. In this demo, just drag-drop shortcuts to the form and a message box will popup showing the target.