Show / Hide Table of Contents

Method shortcutFile.create


Overload

Creates a new shortcutFile instance that can be used to create or replace a shortcut file.

public static shortcutFile create(string lnkPath)
Parameters
lnkPath  (string)

Shortcut file (.lnk) path.

Returns
shortcutFile
Exceptions
ArgumentException

Not full path.

Remarks

You can set properties and finally call shortcutFile.Save. If the shortcut file already exists, Save replaces it.