'@param path: Location of the target
@param arguments: If path points to an executable, optional arguments
to pass
@param description: Human-readable description of target
@param workingdir: Directory from which target is launched
@param iconpath: Filename that contains an icon for the shortcut
@param iconidx: If iconpath is set, optional index of the icon desired'

def __init__(self, path=None, arguments=None, description=None, workingdir=None, iconpath=None, iconidx=0):

    self._base = pythoncom.CoCreateInstance(shell.CLSID_ShellLink, None, pythoncom.CLSCTX_INPROC_SERVER, shell.IID_IShellLink)
    if (path is not None):
        self.SetPath(os.path.abspath(path))
    if (arguments is not None):
        self.SetArguments(arguments)
    if (description is not None):
        self.SetDescription(description)
    if (workingdir is not None):
        self.SetWorkingDirectory(os.path.abspath(workingdir))
    if (iconpath is not None):
        self.SetIconLocation(os.path.abspath(iconpath), iconidx)
