Creates a Windows Shortcut (.lnk
) file that can be used to launch programs.
CreateShortcut(lcShortCut,lcDescription, lcTarget,lcArguments,lcStartFolder,lcIcon)
Parameters
lcShortCut
Name of the shortcut (without any extension). This becomes the filename with the .lnk
extension.
lcDescription
Optional - A description of the shortcut
lcTarget
The executable that should be launched. Should be provided with a full path.
lcArguments
Any arguments to run the executable
lcStartFolder
Folder from which the executable is run. If omitted uses same as executable.
lcIcon
Icon or EXE file that contains the icon for the shortcut
Remarks
This is a standalone function, not a method of the
wwApi
class
See also:
Class wwAPI© West Wind Technologies, 2024 • Updated: 04/24/24
Comment or report problem with topic