Name
CreateShortcut -- create a shortcut to a file (V4.7)
Synopsis
CreateShortcut(src$, dest$, desc$)
Platforms
Microsoft Windows only

Function
This function can be used to create a *.lnk shortcut to file src$ in file dest$. The shortcut will use the description passed in desc$. The source file passed in src$ can be either an executable or a document file.

Inputs
src$
source file to which the shortcut shall point
dest$
shortcut file that shall be created
desc$
description string of shortcut
Example
CreateShortcut("test.exe", "test.lnk", "Test shortcut")
The code above creates a link to file "test.exe" as "test.lnk" using the description "Test shortcut".

Show TOC