Shortcut.Savemethod
Saves a shortcut object to disk.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION Save () AS HRESULT
Return value
HRESULT. S_OK (0) on success, or an error code on failure.
Description
Saves a shortcut object to disk.
Remarks
After creating an instance of the CShortcut* class to create to create a shortcut object and set the shortcut object's properties, the Save method must be used to save the shortcut object to disk. The **Save method uses the information in the shortcut object's FullName property to determine where to save the shortcut object on a disk. You can only create shortcuts to system objects. This includes files, directories, and drives (but does not include printer links or scheduled tasks).
Reference
- Include file
CShortcut.inc - Documented in Windows/Windows Script/Shortcut Classes.md
- Topic: Shortcut Classes