MakeShortcut

Description:

baMakeShortcut creates a shortcut to a file.

Platforms:

Windows and Macintosh

Usage:

Result = baMakeShortcut( FileName , Path , Title )

Arguments:

String, string, string.
FileName is the file that the shortcut will point to.
Path is the folder that the shortcut will be created in.
Title is the name of the shortcut.

Returns:

Integer.
Returns 1 if successful, else 0.

Examples:

Director:
OK = baMakeShortcut( "d:\mworld.exe" , "c:\windows\desktop" , "Multimedia World" )

Authorware:
OK := baMakeShortcut( "d:\\mworld.exe" , "c:\\windows\\desktop" , "Multimedia World" )
 

Notes:

On Macintosh, if the file the alias points to contains a custom icon, it will not be copied to the alias file. The Finder will update the alias when the file is run.
 

See also:

baMakeShortcutEx
baResolveShortcut