Name

Save

Synopsis

$link->Save([file])

Saves the content of the shortcut object into the file named file. If file is omitted, the filename is taken from the File property of the object (which, if not changed, is the name of the last Loaded file).

If no file was loaded, and the File property doesn’t contain a valid filename, the method returns undef, which is also returned on error. A true value is returned if everything was successful.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.