title: How do I permanently change a shortcut's target path with perl script?
body: <p>I am currently trying to figure out perl's <a href="https://metacpan.org/pod/Win32%3a%3aShortcut" rel="nofollow"><code>Win32::Shortcut</code></a> module, and how to change shortcut paths with said module. This is for a personal project and I plan to manage shortcuts with this script</p>
  
  <pre><code>#!/usr/local/bin/perl
  
  use Win32::Shortcut;
  use strict;
  
  my $LINK;
  
  $LINK = new Win32::Shortcut();
  $LINK-&gt;Load("C:\\Users\\Jimbo\\Desktop\\VLC media player.lnk");
  $LINK-&gt;{'Path'} = "http://www.google.com//";
  
  $LINK-&gt;Save();
  $LINK-&gt;Close();
  </code></pre>
  
  <p>The script runs without an issue, but when I click on the shortcut I loaded it opens VLC media player instead of google.com. </p>