ResolveShortcut

Description:

baResolveShortcut returns the file a shortcut. points to.

Platforms:

Windows

Usage:

Result = baResolveShortcut( Shortcut )

Arguments:

String.
Shortcut is the name of the shortcut.

Returns:

String.
Returns the file name, or an empty string if the shortcut doesn't exist or isn't a shortcut.

Examples:

Director:
filename = baResolveShortcut( "c:\temp\My Shortcut" )

Authorware:
filename := baResolveShortcut( "c:\\temp\\My Shortcut" )
 

Notes:

The file extension for shortcuts is .lnk, which Windows does not display. If does not matter whether or not you include this extension in your shortcut name.
 

See also:

baMakeShortcut
baMakeShortcutEx