User Tools

Site Tools


reading_20a_20shortcut

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
reading_20a_20shortcut [2018/03/31 13:19] – external edit 127.0.0.1reading_20a_20shortcut [2024/01/05 00:21] (current) – external edit 127.0.0.1
Line 2: Line 2:
  
 //by Jon Ripley, January 2008//\\ \\  If you want to read the name of the file or directory pointed to by a short cut (link) file you can use the routine listed below. //FNShell_GetShortcut// takes a full path to a short cut (link) file and returns a path to the linked file:\\ \\  //by Jon Ripley, January 2008//\\ \\  If you want to read the name of the file or directory pointed to by a short cut (link) file you can use the routine listed below. //FNShell_GetShortcut// takes a full path to a short cut (link) file and returns a path to the linked file:\\ \\ 
 +<code bb4w>
         DEF FNShell_GetShortcut(LinkFile$)         DEF FNShell_GetShortcut(LinkFile$)
         LOCAL ole32%, clsid%, iidsl%, iidpf%, wsz%, psl%, ppf%, psl{}, ppf{}, path%         LOCAL ole32%, clsid%, iidsl%, iidpf%, wsz%, psl%, ppf%, psl{}, ppf{}, path%
Line 62: Line 63:
         SYS `CoUninitialize`         SYS `CoUninitialize`
         =$$path%         =$$path%
 +</code>
 \\  For information about how to create a short cut see the article on [[/Creating%20a%20shortcut|creating a shortcut]]. \\  For information about how to create a short cut see the article on [[/Creating%20a%20shortcut|creating a shortcut]].
reading_20a_20shortcut.1522502376.txt.gz · Last modified: 2024/01/05 00:16 (external edit)