title: Changing Target in Shortcut with VBScript
body: <p>I am trying to create a VBScript to change a target in a link</p>
  
  <p>The current target is</p>
  
  <pre><code>"C:\Program Files\Hyland\Application Enabler\AEClient.exe"
  </code></pre>
  
  <p>I want the new target to be </p>
  
  <pre><code>"C:\Program Files\Hyland\Application Enabler\AEClient.exe" \\rrscwpappimg02\Workflow\CWF\AppEnabler\CombinedCWF.xml
  </code></pre>
  
  <p>Here is the script I have thus far. I keep getting an error on line 4 char 78:</p>
  
  <pre><code>Set wsc = WScript.CreateObject("WScript.Shell")
  Set lnk = wsc.CreateShortcut(wsc.SpecialFolders("desktop") &amp; "\AE Client.LNK")
  
  lnk.targetpath = "C:\Program Files\Hyland\Application Enabler\AEClient.exe"      \\rrscwpappimg02\Workflow\CWF\AppEnabler\CombinedCWF.xml
  lnk.description = "AE Client"
  lnk.workingdirectory = "C:\Program Files (x86)\Hyland\Application Enabler\"
  lnk.save`
  </code></pre>
  
  <p>Any help would be greatly appreciated. </p>
  
  <p>Even just a script to create the shortcut that work on the desktop would work.</p>