Method shortcutFile.openOrCreate
Overload
Creates a new shortcutFile instance that can be used to create or modify a shortcut file.
public static shortcutFile openOrCreate(string lnkPath)
Parameters
lnkPath (string)
Shortcut file ( |
Returns
Exceptions
ArgumentException
Not full path. |
AuException
Failed to open existing |
Remarks
Exception if file exists but cannot open it for read-write access. You can get and set properties and finally call shortcutFile.Save. If the shortcut file already exists, Save updates it.